[Bug driver/35300] References to original ${prefix} paths in relocated toolchain and /lib and /usr/lib search paths appear in cross toolchain.

kkylheku at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 23 01:40:00 GMT 2008



------- Comment #2 from kkylheku at gmail dot com  2008-02-23 01:40 -------
Created an attachment (id=15211)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15211&action=view)
Hack to not have /lib and /usr/ paths in cross-compiler.

I don't know whether this path is right in general, but it gets rid of
questionable search paths in my cross toolchain. 

Should gcc ever (i.e. in any configuration) be unconditionally be looking in
/usr/libexec/gcc and /usr/lib/gcc for executables and libraries? It doesn't
seem right.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35300



More information about the Gcc-bugs mailing list