On Sep 13, 2006, at 3:57 AM, Kate Minola wrote:
The reason I ask is that libtool (or more precisely the m4 macro AC_LIBTOOL_SYS_DYNAMIC_LINKER in libtool.m4) uses "gcc -print-search-dirs" to set sys_lib_search_path_spec. But if gcc is in -m64 mode but -print-search-dirs is only listing -m32 libraries, then bad things happen later on.
Yes, -print-search-dirs is not appropriate for the multilib case, please bring this up (again) on the libtool or bug-libtool lists.
Peter