public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* archive searching!!
@ 2010-11-20  8:24 ali hagigat
  2010-11-22 17:55 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: ali hagigat @ 2010-11-20  8:24 UTC (permalink / raw)
  To: gcc-help

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: archive searching!!
  2010-11-20  8:24 archive searching!! ali hagigat
@ 2010-11-22 17:55 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-11-22 17:55 UTC (permalink / raw)
  To: ali hagigat; +Cc: gcc-help

ali hagigat <hagigatali@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-22 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20  8:24 archive searching!! ali hagigat
2010-11-22 17:55 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).