-print-search-dirs ignores the current multi-os/multilib settings. Thus "gcc -m64 -print-search-dirs" on powerpc-linux or "gcc -print-search-dirs" on x86-64-linux prints the wrong library directories. libtool needs this information to find the libraries in the right directories.
-- Summary: -print-search-dirs doesn't honor mutil-os/multilib settings Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: x86-64-*-*,powerpc*-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425