Cpptools allways force use cl.exe or mingw-gcc. Is it not support other gcc family cross compiler ? #9105
Unanswered
github0null
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
Something is causing our compiler querying to fail, so it falls back to mingw-gcc. You may be hitting #9099 . If you run and don't see then it'd be the same issue. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I checked the reference: #9107 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I use cpptools for my embedded project. This project use
avr-gccas c compiler.The macro:
__AVR_ATmega128__is avr-gcc compiler internal macro.I explicitly indicate the
compilerPathin the configuration, but cpptools allways usemingw-gcc, mingw-gcc not have this macro. And for that reason, my project allways have some intellisense error.This is my config in c_cpp_properties.json:
{ "configurations": [ { "name": "win32", "intelliSenseMode": "${default}", "includePath": [ "c:/Users/Admin/Desktop/tmp/winavr_gcc_test/rtos9/include", "c:/Users/Admin/Desktop/tmp/winavr_gcc_test/rtos9/portable/gcc/atmega128", "c:/Users/Admin/Desktop/tmp/winavr_gcc_test/src", "c:/winavr-20100110/lib/gcc/avr/4.3.3/include", "c:/winavr-20100110/lib/gcc/avr/4.3.3/include-fixed", "c:/winavr-20100110/avr/include" ], "defines": [], "forcedInclude": [ "C:\\Users\\Admin\\.eide\\bin\\include\\internal_headers\\gcc_intr.h" ], "compilerPath": "C:\\WinAVR-20100110\\bin\\avr-gcc.exe", "compilerArgs": [ "-std=c11", "-mmcu=atmega128", "-c", "-xc", "-Wall", "-gdwarf-2", "-std=gnu99", "-Wno-pointer-to-int-cast", "-DF_CPU=16000000UL", "-O2", "-funsigned-char", "-funsigned-bitfields", "-fpack-struct", "-fshort-enums", "-Wno-int-to-pointer-cast" ] } ], "version": 4 }but
C/C++ Log Diagnosticsallways use mingw32-gcc:Beta Was this translation helpful? Give feedback.
All reactions