This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FW: errors while building glibc-2.7 --> solved


On 1 Aug 2008, Oussama Chammam outgrape:

>
>
> Helo!
> not either -march works for me:
> $ ../glibc-2.7/configure --prefix=/usr --enable-add-ons --without-selinux --without-gd --disable-profile --enable-kernel=linux-2.6.26 --with-headers=/media/sda1/usr/src/linux-2.6.26/include -march=opteron
> configure: error: unrecognized option: -march=opteron
> Try `../glibc-2.7/configure --help' for more information.

It's not a configure option, it's a compiler option that you can put in
CFLAGS, e.g.

../glibc-2.7/configure --prefix=/usr --enable-add-ons --without-selinux --without-gd --disable-profile --enable-kernel=linux-2.6.26 --with-headers=/media/sda1/usr/src/linux-2.6.26/include CFLAGS="-O2 -march=opteron"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]