Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-25-2009, 02:08 PM   #1
LQ Newbie
Registered: Dec 2009
Posts: 10

Rep: Reputation: 0
what are linker scripts

hi i am a newbie

can anybody plz throw some light on what are "linker scripts"
and where they are actually used
some references,links or docs would be really appreciated
Old 12-25-2009, 02:32 PM   #2
LQ Newbie
Registered: Nov 2009
Distribution: Gentoo
Posts: 20

Rep: Reputation: 1
Linker scripts are used by the linker (ld) to modify how the executable file is generated from the object files. Some of the things you can do with linker scripts include defining the location of the code and data "segments" in the processes address space, define symbols, and change the format of the final executable.
Here are some documents on linker scripts:
1 members found this post helpful.


linker, scripts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cryptic linker error (i really dont like linker errors); smeezekitty Programming 2 09-19-2009 02:21 AM
c++ linker errors kpachopoulos Programming 3 01-22-2007 04:02 AM
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 12:10 PM
linker problem bahadur Programming 4 11-26-2005 06:43 AM
NASM linker rblampain Programming 2 06-29-2005 05:56 AM

All times are GMT -5. The time now is 12:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration