Questions on script linker file

Ian Lance Taylor iant@google.com
Mon Jul 12 09:26:00 GMT 2010


Valter Rasicci - VMEDIA <vmedia@insinet.it> writes:

> it is not long time I'm using gcc (on AVR32 devices) so I'm not expert
> but, while I found manuals on compiler and linker, I didn't find
> manual/documentation on linker script file guideline.
> It is not simple, looking at a script linker file, to understand
> clearly everything. I found something on linker manual but these
> information aren't so extensive/organic and complete as I expected.
>
> Is there such documentation?

Linker scripts are documented in the GNU linker manual.  The relevant
docs can be found online at:

http://sourceware.org/binutils/docs-2.20/ld/Scripts.html

Note that the linker is part of the GNU binutils.  It is not part of gcc
itself.

Ian



More information about the Gcc-help mailing list