Yesterday things built after upgrading from KDS2 to KDS3, after fixing a couple problems. Today I changed build configurations, built clean, and now I see this:
c:/freescale/kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv6-m\libg_s.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
What gives? This built correctly under KDS2. Interestingly, switching back to the other configuration seems to make it go away.
Solved! Go to Solution.
have you already added
--specs=nosys.specs
to the linker options?
Erich
Where can I find linker options?
thanks
Erich
Ah, I had missed that in the migration page write up. I've bookmarked it. Adding that to the linker options seems to have fixed that. Thank you again, Erich!