[vox-tech] gcc and libraries

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 11 Jan 2002 11:29:42 -0800


man gcc:

       -llibrary
              Use the library named library when linking.

              The linker searches a standard list of  directories
              for  the  library,  which  is actually a file named
              `liblibrary.a'.  The linker then uses this file  as
              if it had been specified precisely by name.

              The  directories  searched include several standard
              system directories plus any that you  specify  with
              `-L'.

how can i get a list of what directories are considered "several
standard system directories" by gcc?   i know the obvious ones.  i'd
like to get a list of all of them.

pete

-- 
The mathematics [of physics] has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's `Fearful Symmetry'

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D