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?


Pass -verbose option to linker, will show you the default linker script file info.

For ex:
> gcc a.c -Wl,-verbose

Best Regards,
Swami

Pan ruochen wrote:
Hi All,

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

Best Regards
PRC
May 11,2009





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