This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get the default linker script used by gcc?


On Monday 11 May 2009 01:34:45 Pan ruochen wrote:
> When I use gcc to build an executable like this
> gcc a.c
> How I can get the linker used by LD for that executable?
> Is there any option for this purpose? My LD version is 2.17.50

gcc doesnt know anything about linker scripts.  that is the job of the linker.  
you can see all the relevant files by linking with -Wl,--verbose.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]