GNU Gcc compiler
GNU Gcc compiler
I have create Prj as example to test the GNU GCC compiler and I add a simple SCI component ,
when I compile the project I have this errors
’11:01:54 **** Building Selected Files of configuration HardwareDebug for project Example ****
Info: Internal Builder is used for build
rx-elf-gcc -O0 -ffunction-sections -fdata-sections -g2 -Wstack-usage=100 -mcpu=rx64m -misa=v2 -mbig-endian-data -nostdinc -std=gnu99 “-IC:\\\\ProgramData\\\\GCC for Renesas RX 8.3.0.202102-GNURX-ELF\\\\rx-elf\\\\rx-elf\\\\/rx-elf/optlibinc” “-IC:\\\\MyJob\\\\Pr4+\\\\workspace\\\\Example\\\\src\\\\smc_gen\\\\r_bsp” “-IC:\\\\MyJob\\\\Pr4+\\\\workspace\\\\Example\\\\src\\\\smc_gen\\\\r_config” “-IC:\\\\MyJob\\\\Pr4+\\\\workspace\\\\Example\\\\src\\\\smc_gen\\\\Config_SCI0” “-IC:\\\\MyJob\\\\Pr4+\\\\workspace\\\\Example\\\\src\\\\smc_gen\\\\general” “-IC:\\\\MyJob\\\\Pr4+\\\\workspace\\\\Example\\\\src\\\\smc_gen\\\\r_pincfg” “-Wa,-adlnh=$(basename $(notdir $<)).lst” “..\\src\\smc_gen\\r_pincfg\\Pin.c” -c -o “src\\smc_gen\\r_pincfg\\Pin.o”
In file included from c:\myjob\pr4+\workspace\example\src\smc_gen\r_bsp\board\generic_rx65n\r_bsp.h:60,
from c:\myjob\pr4+\workspace\example\src\smc_gen\r_bsp\platform.h:157,
from c:\myjob\pr4+\workspace\example\src\smc_gen\general\r_cg_macrodriver.h:34,
from ..\src\smc_gen\r_pincfg\Pin.c:37:
c:\myjob\pr4+\workspace\example\src\smc_gen\r_bsp\mcu\all\r_bsp_common.h:69:13: fatal error: stdint.h: No such file or directory
#include <stdint.h>
^~~~~~~~~~
compilation terminated.
compilation terminated.
11:01:54 Build Failed. 1 errors, 0 warnings. (took 360ms)
Hello,
Thank you for reaching out to us!
The GCC RX 2021q2 toolchain is no longer providing the prebuilt optlib library, so we suggest changing the library type to prebuilt newlib. You can also check the Use newlib-nano checkbox from the Settings→Tool Settings → Linker → Miscellaneous → Use newlib-nano (–specs=nano.specs) in order to use the nano version of newlib.
Please let us know if we can be of further assistance.
Best regards,
The Open Source Tools Team