Dear all,
I experienced that the build of an old prj imported in the updated version (1.1.0.31) fails.The prj has been built successfully with all previous versions.
The problem is due to wrong command passed to gcc : command contains option "-x c++" instead of "-x c". Files with names longer than 8 characters are converted to upper case letters. The extension .C is recognized as C++ source file.
Any sugestion is appreciated
thank you
Regards
Roberto
Hello,
gcc treats file extensions in case sensitive manner. So you need just to rename files: replace upper case "C" with lower case "c".
Here is the list of supported extensions: http://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html
Thank you Maxim Salov for replying.
make all
'Scanning started:
'Invoking: Compiler'
rx-elf-gcc -Wa,-adlhn="MYSOUR~1.lst" .... -g2 -g -mbig-endian-data -mcpu=rx200 -nofpu -c -x c++ -o "Sources/mysourcefilename.o" "C:\MyPrj\PRODUC~1\MYSOUR~1.C"
where I omitted some options.
In previous versions of E2S the command was:
rx-elf-gcc -Wa,-adlhn="mysourcefilename.lst" .... -g2 -g -mbig-endian-data -mcpu=rx200 -nofpu -c -x c -o "Sources/mysourcefilename.o" "C:\MyPrj\ProductFiles\mysourcefilename.c"
this is the right command
is there a way to fix this wrong behavior? this version makes use of the DOS format for files, why?
Roberto,
Try updating your e2studio and the compiler. The new RX-Gcc compiler is rev 12.03 and the e2studio update is available for the version below.
e2studio Version: 1.1.1.4Parts Copyright (C) 2010-2012 Renesas Electronics Corp.All rights reserved. When i compile I see the full file name and not the old DOS format version.
e2studio Version: 1.1.1.4
Parts Copyright (C) 2010-2012 Renesas Electronics Corp.
All rights reserved.
When i compile I see the full file name and not the old DOS format version.