|
|
||||||||||||
Resources
Mailing Lists
|
How do I see the linker script used by the GNU Linker?QuestionHow do I see the linker script used by the GNU Linker? AnswerOn bare-metal targets, linker scripts are provided by CS3. These are located in a target-specific subdirectory of your Sourcery G++ install directory. For example, for ARM EABI targets the linker scripts are in arm-none-eabi/lib. On other targets, the GNU Linker (ld) uses a built-in default linker script. You can use this script as the basis for building your own linker script. The built-in linker script can be viewed by running a command like this: arm-none-linux-gnueabi-ld --verbose This entry was last updated on 13 October 2009. |
|||||||||||
| © 2004—2010 CodeSourcery. All Rights Reserved. (888) 776-0262 · (650) 331-3385 | ||||||||||||