[Clfs-dev] Cross-Compiled Linux From Scratch - Embedded:unable to build uClibc-0.9.30

giuseppe marchi joshua777 at live.it
Fri Jan 2 13:30:27 PST 2009



>Check your $CLFS-TARGET settings, don't use the host CC to compile the 
>target program.Hi,
thanks for your reply,
i followed your advise but look below:

clfs:/mnt/clfs/sources/uClibc-0.9.30-rc3$ echo $CLFS_TARGET
armv5l-unknown-linux-uclibc

This imply i use the right compiler.
Everywhere if i type:

clfs:/mnt/clfs/sources/uClibc-0.9.30-rc3$ make CC="armv5l-unknown-linux-uclibc-gcc -m32"
  CC ldso/ldso/ldso.oS
cc1: error: unrecognized command line option "-m32"

i obtain the same error.
Why i have to set BUILD=-m32 if the cross-compiler don't recognize that option?
Can you tell me which value use for BUILD variable,please?
Thanks Peppe.



_________________________________________________________________
Non solo parole. Scopri le nuove funzionalità di Windows Live.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20090102/a2e05a6a/attachment.html>


More information about the Clfs-dev mailing list