cross-compilation fails

Zack Weinberg zack@rabi.phys.columbia.edu
Fri Jun 12 12:38:00 GMT 1998


On Fri, 12 Jun 1998 10:59:22 -0400 (EDT), Elliot Lee wrote:
>I built a cross-compiling environment (I verified that it compiles & links
>a very basic program properly) and then configured libc as such:
>
>AR=ppc-linux-ar RANLIB=ppc-linux-ranlib CC=ppc-linux-gcc ../configure \
>	--target=ppc-linux --enable-add-ons=crypt,linuxthreads \
>	--with-headers=/opt/src/sopwith/ppc/ppc-linux/sys-include \
>	--host=i686-unknown-linux

Try --build=i686-unknown-linux --host=ppc-linux.  --target is only used when
compiling cross-compilers.

Everything else is fine, except that it *should* pick the right ar, ranlib,
and cc by itself.

zw



More information about the Libc-hacker mailing list