On 18/10/2010 23:08, [email protected] wrote:
Good day,

I am new to CLFS, and have encountered some problems. I have run a search on 
it, but was unable to find anything.

Basically, I am at chapter 5. Part 5.8 Glibc-2.7.  I am building on a i686 host 
and building for a x86_64 arch. On preparing Glibc for compiling:

BUILD_CC="gcc" CC="${CLFS_TARGET}-ranlib" CFLAGS="-march=$(cut -d- -f1<<<  
$CLFS_TARGET) -mtune=generic -g -02" ../glibc-2.7/configure --prefix=/tools --host=${CLFS_TARGET} 
--build=${CLFS_HOST}...

But once issued, I have an error:

X86_64-clfs-linux-gnu-gcc: unrecognized option '-02'
Conftest.c:1: error: bad value (x86_64) for -march= switch...

I am not sure if this is enough info. Any help is well needed and welcome.
I guess you typed -02 and not -O2. It is an "O" like in "Oblivion", not a zero ;) Paste the commands, it is safer.

BTW why are you building such old releases? Latest CLFS has eglibc 2.12...


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

Reply via email to