headless build isn't using include dependencies [message #908374] |
Wed, 05 September 2012 09:05 |
Philipp Dassow Messages: 2 Registered: September 2012 |
Junior Member |
|
|
Hello everybody,
I'm trying to build a project from commandline using following statement:
C:\Daten\eclipse>eclipsec.exe -application org.eclipse.cdt.managedbuilder.core.headlessbuild --launcher.suppressErrors -data "C:\Daten\test" -import "C:\Daten\SFM_Orig\System" -consoleLog -build System
The problem I'm having is, that there are some include pathes set in the project files, that are need to build the project, but the headless build dosn't theme to use them:
arm-none-eabi-gcc -DOMAPL137 -I"C:\Daten\SFM_Orig\System"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SCL_Lib"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SerIO_Init"
-I"C:\Daten\eclipse\gnu-arm\arm-none-eabi\include"
-I"C:\Daten\eclipse\gnu-arm\lib\gcc\arm-none-eabi\4.2.3\include"
-O3 -Wall -fsigned-char -c -mpoke-function-name -MMD -MP
-MF"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d"
-MT"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d" -mcpu=arm926ej-s -mfloat-abi=soft -o "Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.o" "../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c"
A build from GUI workswithout any problem:
arm-none-eabi-gcc -DOMAPL137 -I"C:\Daten\SFM_Orig\System"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SCL_Lib"
-I"C:\Daten\SFM_Orig\System\Ser_IO_Libs\SerIO_Init"
-I"C:\Daten\SFM_Orig\Application"
-I"C:\Daten\SFM_Orig\Application\Monitor"
-I"C:\Daten\SFM_Orig\ThreadX"
-I"C:\Daten\SFM_Orig\DLM_Connector\DLM_Files"
-I"C:\Daten\eclipse\gnu-arm\arm-none-eabi\include"
-I"C:\Daten\eclipse\gnu-arm\lib\gcc\arm-none-eabi\4.2.3\include"
-I"C:\Daten\SFM_Orig\Application\GlobalServices"
-I"C:\Daten\SFM_Orig\Application\TetraControl"
-O3 -Wall -fsigned-char -c -mpoke-function-name -MMD -MP
-MF"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d"
-MT"Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.d" -mcpu=arm926ej-s -mfloat-abi=soft -o "Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.o" "../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c"
'Finished building: ../Ser_IO_Libs/SerIO_Init/GSS_Init_Libs.c'
As you can see, the GUI log shows, that there are some includes, that are not taken in account from the headless build, but both are using the same projectfiles ...
Anybody an idea to fix that?
[Updated on: Wed, 05 September 2012 09:07] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03297 seconds