[ reply-to set ] Hello Gary,
* Gary Yang wrote on Tue, Mar 31, 2009 at 08:12:23PM CEST: > > I am doing the cross compile. The libtool uses wrong gcc and ld. It > should use "/tools/eldk/4.2/ppc_4xx/usr/bin/ld", not > "/usr/local/bin/ld". It should be “/tools/eldk/4.2/usr/bin/ppc_4xx-gcc > –shared”, not gcc –shared. See below. How to fix it? Did you create /tools/eldk/4.2/ppc_4xx/usr/bin/libtool? If yes, how, and can you pass LD=... CC=... correctly to the configure script of Libtool? If no, who did? It looks like they should fix that. You can maybe work around it by editing the libtool script and adjusting the first $CC and $LD settings (for C; for other languages you may need to adjust near the end of the script). However, this is hacky and might just break the script unless it really was created for ppc_4xx-gcc. Hope that helps. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
