Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hello,
1. Launch CCS 10
2. Create a new project (name test or whatever) using GNU 7.2.1 Linaro and template: SYS/BIOS | GNU Target Examples | Typical
3. Select SYSBIOS 6.83.0.18 and XDC 3.61.2.27
4. MANUALLY ENTER "ti.platforms.beaglebone" in the platform because the drop down is empty (something else that is broken)
5. Press finish. A project temple is generated.
6. Select build. Get an error:
C:/ti/bios_6_83_00_18/packages/ti/sysbios/rts/gnu/ReentSupport.c:84: undefined reference to `ti_sysbios_rts_gnu_ReentSupport_checkIfCorrectLibrary'
7. Search and find this solution (which isn't - because this is NOT an imported project)
8. Follow the link to the FAQ, and read it, realizing it is useless to this issue:
Why do I get a “undefined reference to `ti_sysbios_rts_gnu_ReentSupport_checkIfCorrectLibrary’” error when compiling my application?
Well...
You may have encountered this error when building an application for ARM using makefile and not using CCS
Wrong. This is 100% CCS. Or
You will need to link in the proper C runtime library from SYS/BIOS.
And where are they?? Or
Double check the makefile(s) and make sure that you are using libc, libgcc, libm, etc. from the SYS/BIOS package and not from your toolchain (GCC Linaro).
Which I did NOT set up, the "wizard" did.
But examining the linker setting, the ONLY search path is
${COM_TI_BIOS_LIBRARY_PATH}
Which is yet another one of those "under the cover", "magical", "you're not allowed to see where it came from", "not defined anywhere in the workspace" environment macros.
Any wonder why my disdain for this environment grows daily?
