This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Search paths


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]