Does libtool really support cross compile? Libtool should never, ever set sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
when generating binaries for the cross target. The current libtool in gcc 3.x does it wrong. I am enclosing a patch for ltconfig here. I don't know how to fix libtool. H.J. --- --- ltconfig.cross Sat May 19 00:19:10 2001 +++ ltconfig Mon Oct 29 15:02:29 2001 @@ -2123,6 +2123,12 @@ case $ltmain in ;; esac + if test $host != $build; then + # Don't even think about setting sys_lib_search_path_spec for cross + # compiling. + sys_lib_search_path_spec= + fi + if test -z "$tagname"; then trap "$rm \"$ofile\"; exit 1" 1 2 15 echo "creating $ofile" _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool