“libtool” uses wrong gcc and ld. How to fix it?

2009-03-31 Thread Gary Yang
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? /tools/eldk/4.2/ppc_4xx/usr/bin/libtool --tag=CC

Re: “libtool” uses wrong gcc and ld. How to fix it?

2009-03-31 Thread Ralf Wildenhues
[ 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