Talk:Linker Scripts: Difference between revisions

From OSDev.wiki
Latest comment: 14 years ago by Sigjuice
Jump to navigation Jump to search
Content deleted Content added
Combuster (talk | contribs)
Re: To GNU or not to GNU
No edit summary
Line 1: Line 1:
Should the page say GNU ld, instead of simply "ld" since the linker script format is most likely GNU ld specific? --[[User:Sigjuice|Sigjuice]] 21:17, 16 November 2009 (UTC)
Should the page say GNU ld, instead of simply "ld" since the linker script format is most likely GNU ld specific? - [[User:Sigjuice|Sigjuice]] 21:17, 16 November 2009 (UTC)
:Not really, as ld de facto refers to the GNU linker (and afaik no other linker is called ld). I decided to put it in anyway because it can do no harm and the word [[LD|ld]] alone is hardly noticeable as a hyperlink - [[User:Combuster|Combuster]] 18:14, 17 November 2009 (UTC)
:Not really, as ld de facto refers to the GNU linker (and afaik no other linker is called ld). I decided to put it in anyway because it can do no harm and the word [[LD|ld]] alone is hardly noticeable as a hyperlink - [[User:Combuster|Combuster]] 18:14, 17 November 2009 (UTC)
The name "ld" happens to be quite generic and predates the GNU movement ([http://cm.bell-labs.com/cm/cs/who/dmr/man12.pdf Part 2, page 20, Unix Programmer's Manual November 3, 1971]). Also, most Unix-like systems have their own native linker, usually called ld. Here are four different versions of ld; [https://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds3/ld.htm AIX], [http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man1/ld.1.html <nowiki>Mac OS X</nowiki>],
[http://docs.sun.com/app/docs/doc/816-0210/6m6nb7mcs Solaris] and
[http://docs.hp.com/en/B2355-90689/ld.1.html HP-UX]. - [[User:Sigjuice|Sigjuice]] 08:59, 18 November 2009 (UTC)

Revision as of 08:59, 18 November 2009

Should the page say GNU ld, instead of simply "ld" since the linker script format is most likely GNU ld specific? - Sigjuice 21:17, 16 November 2009 (UTC)Reply

Not really, as ld de facto refers to the GNU linker (and afaik no other linker is called ld). I decided to put it in anyway because it can do no harm and the word ld alone is hardly noticeable as a hyperlink - Combuster 18:14, 17 November 2009 (UTC)Reply

The name "ld" happens to be quite generic and predates the GNU movement (Part 2, page 20, Unix Programmer's Manual November 3, 1971). Also, most Unix-like systems have their own native linker, usually called ld. Here are four different versions of ld; AIX, Mac OS X, Solaris and HP-UX. - Sigjuice 08:59, 18 November 2009 (UTC)Reply