Hello Vincent, * Vincent Torri wrote on Sun, Apr 13, 2008 at 11:51:00PM CEST: > > Here is a patch to make libtool support the cegcc compiler. The patch is > made wrt the latest cvs.
Thank you for the patch. Please bootstrap Libtool 2.2.2 with this patch, build it for this system (cross-compile if you have to), and send the output of make -k check as well as tests/testsuite.log. I assume you will also have to use updated config.* files. This patch needs to wait until those changes have been applied to the upstream config.* files. Also, see one small comment below. Thanks, Ralf > 2008-04-13 Vincent Torri <doursse at users dot sf dot net> > > Add cegcc support > * libltdl/config/ltmain.m4sh: > * libltdl/m4/libtool.m4: > * libltdl/m4/ltoptions.m4: > add 'cegcc' when needed > --- libltdl/m4/libtool.m4 10 Apr 2008 21:18:02 -0000 1.148 > +++ libltdl/m4/libtool.m4 13 Apr 2008 21:47:11 -0000 > @@ -2997,6 +2997,13 @@ > fi > ;; > > +cegcc) > + # ?? shouldn't this be based no build_os, not host_os? > + # use the weaker test based on 'objdump'. See mingw*. > + lt_cv_deplibs_check_method='file_magic file format > pe-arm-.*little(.*architecture: arm)?' > + lt_cv_file_magic_cmd='$OBJDUMP -f' > + ;; > + No, tests should operate on host libraries, not build libraries.