OK, I got the x86 uClibc version to build and I can now successfully 
build apps for an embedded x86 target I have running. Works great, 
thanks for the great resource. Now I'm trying to do a MIPS LE version 
based on the same latest clfs version for MIPS. I think I've followed 
the directions to the letter. However, when I build uClibc headers step 
(make TARGET_ARCH=mips headers), I get the following error.

./extra/scripts/conf-header.sh .config > include/bits/uClibc_config.h
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"

The issue is that the host compiler doesn't like these two options, 
which makes sense to me, it's a x86-64 FC6 box, and so wouldn't have 
MIPS capability built in. So either I missed a step (possible) or the 
guide is missing something (less likely I guess). Anyone know what I 
have to change or what I missed to get this to work? I see the spots in 
the uClibc Makefile that are responsible for the issue, but am not 
familiar enough to know what to change. Any help would be much appreciated.
_______________________________________________
Clfs-support mailing list
Clfs-support@lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to