[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Linker option for mapfile
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] Linker option for mapfile |
Date: |
Wed, 13 Nov 2002 09:42:39 -0700 |
On 13 Nov 2002 at 16:33, Schilling, Juergen (GE51) wrote:
> Hi all,
>
> were can I find information regarding to the linker option -Map? I did
> not find anything in GCC help section. Is that option AVR specific?
>
> Thanks,
> Juergen
> avr-gcc-list at http://avr1.org
ld is the linker. Documentation:
http://www.gnu.org/manual/ld-2.9.1/ld.html
GNU Manuals online:
http://www.gnu.org/manual/
gas = assembler
ld = linker
gcc = compiler driver
make = maker
You can send linker switches to ld via gcc by sending to gcc:
-Wl,<linker switch>,<linker switch>, ...
There must be no spaces in the above switch when sending to gcc. If
the linker switch has a parameter with a space, substitute an equals
sign. Example:
# won't work because of space before parameter
-Wl,<linker switch> <parameter>
#works
-Wl,<linker switch>=<parameter>
Eric
avr-gcc-list at http://avr1.org