This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cross-compilation fails


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]