cross compiler libary search path

Daniel Kegel dank@kegel.com
Wed Jul 13 17:34:00 GMT 2005


Eric Olsen wrote:
> I built a 3.3.4 gcc cross compiler specifying a prefix of 
> /opt/tools/gcc-i386-linux-2.4.21.
> 
> I then executed the resulting gcc with --print-search-dirs and noted 
> that the library
> search list is mostly within /opt/tools/... but it also included 
> /usr/lib/gcc/i386-linux/3.3.4
> This directory does not exist.
> 
> Does anybody know why was this path added?

I imagine it's an old attempt at a standard way to install
compilers for lots of targets.

As long as the directory doesn't exist, you're ok.

It would be nice to know how to disable it.  Probably
it would be an easy patch (just look at how -print-search-dirs
is implemented and follow the trail backwards).
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list