Part Number: CCSTUDIO-SITARA
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi!
We are migration from CCS 6.2 to the lates CCS 7.4, including the latest XDC/SYSBIOS Components.
To get the new setup to compile I need to use newlib-nano, so avoid problems with linker errors casued in
ReentSupport_getReent() function in SYSBIOS.
I have read most of the articles about migration but I'm stuck. The main issue is that we need to have "long long" and "float" support.
I have got float to work by specifying the "-u _printf_float" in the linker misc flags.
I have also tried to link/build with newlib, NOT newlib-nano but I can't get it to work.
Could somebody please give me some advice how to proceed.
[edit]
Linker error:
C:\gitnew\GSE2\application\src\sysbios\sysbios.aa15fg(gnu_ReentSupport.o): In function `ti_sysbios_rts_gnu_ReentSupport_getReent(int0_t)':
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stdin'
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stdout'
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stderr'
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stdin'
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stdout'
C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c:173: undefined reference to `__sf_fake_stderr'
BR: Per-Anders