|
|||||||||||
|
Technical Support Support Resources
Product Information |
GCC: Link Problems After Changing Compiler ToolchainInformation in this article applies to:
QUESTIONMy Arm project was previously configured for the Arm ADS or MDK Keil toolchain. Since I have changed it to the GNU toolset I can no longer link my program. I changed the Startup Code (Startup.s), but when I link my application I receive several error messages from the linker: linking... arm-thumb-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008000 startup.o(.text+0x14c):/cygdrive/h/TestProject/Startup.s:250: undefined reference to '_data' collect2: ld returned 1 exit status Target not created ANSWERThe following things are required for a GNU project setup:
MORE INFORMATION
SEE ALSOLast Reviewed: Monday, January 11, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.