Skip to content

How to make ALE to work with mixed Windows/Cygwin and tricore-gcc? #3778

Discussion options

You must be logged in to vote

FIXED!

I had to change the compile_commands.json file in this way:

{
  "directory": "C:/Project1/Root",
  "command": "c:/Hightec/tricore/v4.6.6.1/bin/tricore-gcc.exe (number of flags) -c software/ComponentONE/src/fileA.c",
  "file": "software/ComponentONE/src/fileA.c"
},

or in this way

{
  "directory": ".",
  "command": "c:/Hightec/tricore/v4.6.6.1/bin/tricore-gcc.exe (number of flags) -c software/ComponentONE/src/fileA.c",
  "file": "C:/Project1/Root/software/ComponentONE/src/fileA.c"
},

to make it to work.
Obviously now there are other issues such as

error: unknown argument: '-fstrict-volatile-bitfields' [clang-diagnostic-error]

but this because the option -fstrict-volatile-bitfields

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ubaldot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant