public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Default linker directory search order
@ 2003-08-27 19:53 Paine, Thomas Asa
  2003-08-27 20:29 ` Eljay Love-Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Paine, Thomas Asa @ 2003-08-27 19:53 UTC (permalink / raw)
  To: gcc-help

Sorry, but I need to ask again, this kind of got buried this morning.

Where or what defines the default directory search order for linking
libraries?  I know the -L will specify directories, however, what
setting is defining the default directories searched?  (There was a
redundant question :) )

 


Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thomas Paine (paineta@uwec.edu)
University of Wisconsin - Eau Claire
Computing & Networking Services
Technical Services

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

* Re: Default linker directory search order
  2003-08-27 19:53 Default linker directory search order Paine, Thomas Asa
@ 2003-08-27 20:29 ` Eljay Love-Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2003-08-27 20:29 UTC (permalink / raw)
  To: Paine, Thomas Asa, gcc-help

Hi Thomas,

The hard-coded default is "burned" into the compiler when it is intially built.  I'm not sure as to the details off the top of my head on how to set that.

If you want to change those "burned in" settings, you'll have to recompile GCC on your system (see the documention on the gcc.gnu.org site).

If you merely want to see those settings, you can specify "g++ -v foo.cpp" for your "foo.cpp" source file.  The "-v" means verbose output.  And that will give lots of interesting output, including the link line and it's settings.

HTH,
--Eljay


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

end of thread, other threads:[~2003-08-27 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 19:53 Default linker directory search order Paine, Thomas Asa
2003-08-27 20:29 ` Eljay Love-Jensen

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).