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.

Thank you in advance
Sent from my BlackBerry® wireless device
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to