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


Hi Andreas,

When i gave the --host=arm-linux option, i received the following warning:

../configure  --host=arm-linux --prefix=/root/2.6.1/gcc_build   --with-tls
--with-__thread --enable-add-ons

configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... configure: error: The arm is not supported

What could be the issue here?

Krish



Andreas Schwab-4 wrote:
> 
> 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."
> 
> 

-- 
View this message in context: http://old.nabble.com/glibc-cross-compilation-with-ARM-tp27402034p27402573.html
Sent from the Sourceware - libc-ports mailing list archive at Nabble.com.


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