Extra Space Inserted in Pbject Filename [message #673432] |
Mon, 23 May 2011 16:08 |
Wesley Miller Messages: 4 Registered: May 2011 |
Junior Member |
|
|
I am compiling a single C source file into an executable. The file is located below the eclipse root $ECLIPSE_ROOT/CTester/CTester.c. It builds error free and leaves it output in $ECLIPSE_ROOT/CTester/Debug/ CTester.o. Note the space after "/Debug/" If I File->lean Project (with an auto-build) then mv "./CTester/Debug/ CTester.o" ./CTester/Debug/CTester.o then do a File->Build Project, My executable is created.
I have checked the Propergties and makefiles many times. The GCC Command Line in the Build settings reads ${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}.
It is interesting to me that sometimes I have to change the Command Line to ${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}" "${OUTPUT} ${INPUTS} adding the " " after ${OUTPUT_PREFIX}, because sometimes Eclipse forgets to append a space on the right side of ${OUTPUT_PREFIX}.
Can anyone suggest a fix for this?
Thanks,
Wes
|
|
|
Powered by
FUDForum. Page generated in 0.02949 seconds