The gnu linker ld is meant to cover a broad range of situations, and to be as compatible as possible with other linkers. As a result, you have many choices to control its www.doorway.ru Size: KB. The GNU linker ld is meant to cover a broad range of situations, and to be as compatible as possible with other linkers. As a result, you have many choices to control its behavior. As a result, you have many choices to control its behavior. The ld command language is a collection of statements; some are simple keywords setting a particular option, some are used to select and group input files or name output files; and two statement types have a fundamental and pervasive impact on the linking process. The most fundamental command of the ld command language is the SECTIONS command.
www.doorway.ru(8) Linux Programmer's Manual www.doorway.ru(8) NAME top www.doorway.ru, www.doorway.ru - dynamic linker/loader SYNOPSIS top The dynamic linker can be run either indirectly by running some dynamically linked program or shared object (in which case no command-line options to the dynamic linker can be passed and, in the ELF case, the dynamic linker which is stored in www.doorway.ru section of the program is. ld, the GNU Linker. The GNU linker, ld, combines multiple object files together and creates an executable program from www.doorway.ru does this by resolving references between the different object files, grouping together similar sections in the object files into one place, arranging for these sections to be loaded at the correct addresses in memory, and generating the necessary header. ld -o output /lib/crt0.o hello.o -lc This tells ldto produce a le called output as the result of linking the le /lib/crt0.o with www.doorway.ru the library libc.a, which will come from the standard search directories. (See the discussion of the '-l' option below.) Some of the command-line options to ld may be speci ed at any point in the.
ld searches for each file through the archive-library search path, just as for files you specify on the command line. See the description of `-L' in section Command Line Options. If you use `-l file ', ld will transform the name to lib file.a as with the command line argument `-l'. GNU Manuals Online. This table lists official GNU packages with links to their primary documentation, where available. When a package has several associated manuals, they are all listed. If a package has no specific manual online, the link just goes to the package's home page (which is also linked to explicitly). The GNU linker ld is meant to cover a broad range of situations, and to be as compatible as possible with other linkers. As a result, you have many choices to control its behavior. OPTIONS The linker supports a plethora of command-line options, but in actual practice few of them are used in any particular context.
0コメント