This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Search paths
- To: law at cygnus dot com
- Subject: Search paths
- From: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Date: Thu, 2 Jul 1998 17:33:19 +0200 (CEST)
- Cc: egcs at cygnus dot com (egcs at cygnus dot com)
| Use "gcc --print-search-dirs" to get a list of its internal search paths.
Interesting, didn't know about that one :)...
The order seems pretty messy though, it looks often in
directories that do not exist (but carry the version
of THIS particular snapshot/version).
programs:
/usr/local/egcs-cvs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.43/
/usr/local/egcs-cvs/lib/gcc-lib/i686-pc-linux-gnu/
/usr/lib/gcc/i686-pc-linux-gnu/egcs-2.91.43/
Why look in a directory that never was created?
/usr/lib/gcc/i686-pc-linux-gnu/
/usr/local/egcs-cvs/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/egcs-2.91.43/
Twice a i686-pc-linux-gnu? It doesn't exist either.
/usr/local/egcs-cvs/i686-pc-linux-gnu/bin/
Again huh? Since "/usr/local/egcs-cvs" is my install
directory, this one should be in front of
"/usr/lib/gcc/i686-pc-linux-gnu/egcs-2.91.43/"?
libraries:
/usr/local/egcs-cvs/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.43/
/usr/lib/gcc/i686-pc-linux-gnu/egcs-2.91.43/
Why look in a directory that never was created?
/usr/local/egcs-cvs/i686-pc-linux-gnu/lib/i686-pc-linux-gnu/egcs-2.91.43/
Twice a i686-pc-linux-gnu? It doesn't exist either.
/usr/local/egcs-cvs/i686-pc-linux-gnu/lib/
/usr/local/egcs-cvs/lib/i686-pc-linux-gnu/egcs-2.91.43/
Why look in a directory that never was created?
/usr/local/egcs-cvs/lib/
/lib/i686-pc-linux-gnu/egcs-2.91.43/
Why look in a directory that never was created?
/lib/
/usr/lib/i686-pc-linux-gnu/egcs-2.91.43/
Why look in a directory that never was created?
/usr/lib/
Me thinks that the search paths do need a face lift.
--
Carlo Wood <carlo@runaway.xs4all.nl>