Compiler prefix not set correctly in subdir.mk generated file [message #1696386] |
Tue, 26 May 2015 09:14 |
Bruno Diraison Messages: 1 Registered: May 2015 |
Junior Member |
|
|
Hi,
I'm working on a C project for ARM target.
My cross compiler prefix is arm-none-eabi-
My project is structured around several virtual folders that contain link to C source files.
I correctly configured my project and everything work correctly.
The problem is that, sometime, for reason that I don't understand, the prefix is not set for a specific folder. So the compilation is performed with gcc instead of arm-none-eabi-gcc and of course, it failed.
The only solution that I found is to replace, in the properties, the compiler by arm-none-eabi-gcc instead of gcc and in this case it works. This confirm that for this specific folder, the compiler prefix is not used, and I don't know why!!
Two more information:
- I noticed that this issue happen more often at startup of Eclipse
- The directory is not all the time the same. At the beginning, instead of replacing gcc by arm-none-eabi-gcc, I suppressed and create again the virtual directory where the problem happen and it work again but the problem appear again later for another directory.
Do you know how I can log the generation by Eclipse of the subdir.mk files, in order to understand what happen?
I use Eclipse Kepler :
Version: Kepler Service Release 2
Build id: 20140224-0627
But I saw the same problem with Eclipse Luna.
I used the following plugins:
ARM Compiler for MCU (for Linux 64 bits) 1.1.0.201503101252 fr.ac6.feature.mcu.externaltools.armnone.linux64.feature.group Ac6
Eclipse IDE for C/C++ Developers 2.0.2.20140224-0000 epp.package.cpp null
External Tools for Linux (64 bits) 1.1.0.201503121117 fr.ac6.feature.mcu.externaltools.linux64.feature.group Ac6
OpenOCD (for Linux 64 bits) 1.1.0.201503101252 fr.ac6.feature.mcu.externaltools.openocd.linux64.feature.group Ac6
OpenSTM32 IDE 1.1.0.201503101252 fr.ac6.feature.mcu.ide.feature.group Ac6
OpenSTM32 Linker Script editor 1.1.0.201503101252 fr.ac6.feature.mcu.ldscript.feature.group Ac6
OpenSTM32 Remote debugging support 1.1.0.201503121115 fr.ac6.feature.mcu.debug.feature.group Ac6
Thank you
BR
|
|
|
|
Powered by
FUDForum. Page generated in 0.03057 seconds