gnu linker 的名字 ld.exe

不知道gnu的连接器叫ld。

找了一些资料:

1. http://www.abbreviations.com/acronyms/UNIX/4

ld Link editor or loader
2. https://en.wikipedia.org/wiki/GNU_linker

GNU linker (or GNU ld) is the GNU Project's implementation of the Unix command ld. GNU ld runs the linker, which creates an executable file (or a library) from object files created duringcompilation of a software project. A linker script may be passed to GNU ld to exercise greater control over the linking process.[1] The GNU linker is part of the GNU Binary Utilities(binutils).

Possible origins of the name "ld" are "LoaD" and "Link eDitor".[2]


3. http://stackoverflow.com/questions/8862450/in-makefiles-what-do-cc-and-ld-stand-for/8862623#8862623

  • LD is a linker (comes from "link editor" or from "loader").
$(LD)  is the linker, as you suspected. The D stands for "Dynamic", I believe.


4. https://en.wikipedia.org/wiki/Linker_(computing)

In computing, a linker or link editor is a computer program that takes one or more object files generated by acompiler and combines them into a single executable file, library file, or another object file.

A simpler version that writes its output directly to memory is called the loader, though loading is typically considered a separate process.[1]

Linkage editor[edit]

In IBM System/360 mainframe environments such as OS/360, including z/OS for the z/Architecture mainframes, this type of program is known as a linkage editor. However, a linkage editor, as the name implies, has the additional capability of allowing the addition, replacement, and/or deletion of individual program sections. Operating systems such as OS/360 have a different format for executable load-modules, in that they contain supplementary data about the component sections of a program, so that an individual program section can be replaced, and other parts of the program updated so that relocatable addresses and other such references can be corrected by the linkage editor, as part of the process.

One advantage of this is that it allows a program to be maintained without having to keep all of the intermediate object files, or without having to re-compile program sections that haven't changed. It also permits program updates to be distributed in the form of small files (originally card decks), containing only the object module to be replaced. In such systems, object code is in the form and format of punched-card decks, so that updates can be introduced into a system using that medium. In later releases of OS/360 and in subsequent systems, load-modules contain additional data about versions of components modules, to create a traceable record of updates.

Note: the term "linkage editor" should not be construed as implying that the program operates in a user-interactive mode (like, for example, a text editor). It is strictly intended for batch-mode execution, with the editing commands being supplied by the user on sequentially organized records, such as "unit record" media (a card deck, for example) or DASD media (a disk file, for example), but a tape is also supported, and tapes were often used during the initial installation of the OS.




猜你喜欢

转载自blog.csdn.net/thinktalk/article/details/70849321
GNU
今日推荐