avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] shared option does not work?


From: Daniel O'Connor
Subject: Re: [avr-gcc-list] shared option does not work?
Date: Wed, 23 Feb 2005 10:00:17 +1030
User-agent: KMail/1.7.92

On Tue, 22 Feb 2005 22:05, Paul Colin Gloster wrote:
> Im new to this environment, so maybe you could help with what -Wl means?"
>
> >From gcc --help :
>
> "[..]
>   -Wl,<options>            Pass comma-separated <options> on to the linker
> [..]"

You can either call gcc or ld to do your linking.. In the former case gcc 
calls ld for you with some logical options but occassionally you might want 
to add some extra stuff, eg..

gcc -Wl,-Map=foo.map,--cref foo.o -o foo

Would write foo.map out during the link phase (useful for seeing what is 
where)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpUXU9u_bXXI.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]