a simple question about link
horseriver
horserivers@gmail.com
Thu Jan 10 12:31:00 GMT 2013
More information about the Binutils mailing list
Thu Jan 10 12:31:00 GMT 2013
- Previous message (by thread): a simple question about link
- Next message (by thread): a simple question about link
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jan 10, 2013 at 10:06:54AM +0000, nick clifton wrote: > Hi horseriver, > > > if gcc do not specify a ld-script file for ld , which ld-script ld will use ? > > The one that is built into the linker. Thanks! After installing ld , there is a folder named "ldscripts" under ld's home directory , which can be set by --prefix configure option . Under /usr/lib folder , there is also a folder named "ldscripts" . what is the difference between them ? ld will use which ? > You can see this script by > running the linker directly with the --verbose command line option > specified. Note - slightly different variations of this default > linker script are used when other command line options are also > passed to the linker, eg -N and -r. See the source file > ld/genscripts.sh for more details on this. > > Cheers > Nick > > >
- Previous message (by thread): a simple question about link
- Next message (by thread): a simple question about link
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list