This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc cross compilation with ARM


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."


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