Re: archive searching!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ali hagigat <hagigatali@xxxxxxxxx> writes:

> 3.11 Implicit Linker Scripts
> Any input files read because of an implicit linker script will be read
> at the position in the
> command line where the implicit linker script was read. This can
> affect archive searching.
> -------------------------------------------------------------------------------
> I copied two lines of ld manual. What does archive searching mean? How
> implicit linker script effects archive searching?

If an archive on the command line appears before the linker script
option, then any files implicitly read by the linker script will not
cause objects to be pulled in from the archive.  Conversely, if the
linker script implicitly opens an archive file, then the archive will
only be searched for objects which appear earlier on the command line.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux