please be a bit more specific, what cross compiler do you use? Otherwise, 2.95.x crosscompiling does work smoothly for a lot of platforms under my hands, but I did not check 3.0.x so far. What version is that "libtool in gcc 3.x". I guess it is not the fault of libtool as seen in cvs, but feel free to patch your own libtool over there - may be use the postconfigured patch-macros as seen in the ac-archive as a guideline. cheers, guido
Es schrieb "H . J . Lu": > > 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 -- guido Edel sei der Mensch, hilfreich und gut GCS/E/S/P C++$++++ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode) _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool