This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: glibc cross compilation with ARM
- From: Andreas Schwab <schwab at redhat dot com>
- To: krish24in <krish24in at gmail dot com>
- Cc: libc-ports at sourceware dot org
- Date: Mon, 01 Feb 2010 11:39:08 +0100
- Subject: Re: glibc cross compilation with ARM
- References: <27402034.post@talk.nabble.com>
krish24in <krish24in@gmail.com> writes:
> CC=arm-linux-gcc ../configure --target=arm-linux
> --prefix=/root/glibc-2.6.1/gcc_build --with-tls --with-__thread
> --enable-add-ons
The --target option is only relevant when building a compiler, but glibc
isn't one. You want --host.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."