Roman Yeryomin wrote:
> Hello!
>
> I'm now trying to build clfs-embedded for mips and I'm failing at the "6.7.1. 
> Installation of uClibc Headers", exactly on "make headers". I have the 
> following output:
>
> ln -fs sgidefs.h ./include/
> cc1: error: unrecognized command line option "-mips1"
> cc1: error: unrecognized command line option "-mabi=32"
> cc1: error: unrecognized command line option "-mips1"
> cc1: error: unrecognized command line option "-mabi=32"
>
> What does it mean and how to fix it (if need to be)?
> Anyway headers seem to be installed.. will try to go futher.
>   
This is a known problem. It looks like uClibc is attempting to use the 
compiler to test for features in the kernel headers. Since here is no 
cross-compiler yet, uClibc is using the hosts compiler. Ugly work 
around, but works (Thanks to Ratrpohy on irc), build a gnu 
cross-compiler for mips, use that to generate the headers, then continue 
building by the book.

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to