Page 1 of 1

GCC standard linker script

Posted: Mon Apr 03, 2006 7:17 am
by YeXo
Can anybody tell me what the default linker script is with gcc? I know it will be somewhere in the installation directory but I can't find it.

Re:GCC standard linker script

Posted: Mon Apr 03, 2006 7:35 am
by Pype.Clicker
if it's not embedded in the compiler, "strace -eopen gcc <stuff>" should tell :)

Re:GCC standard linker script

Posted: Wed Apr 05, 2006 9:32 pm
by guest
On a linux box it should be in either "/lib" or "/usr/lib" under "binutils/arch/version/ldscripts" I believe.