[Clfs-support] Glibc 2.7 issue x86_64

kess.alexander at gmail.com kess.alexander at gmail.com
Mon Oct 18 14:08:29 PDT 2010


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


More information about the Clfs-support mailing list