This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: FW: errors while building glibc-2.7 --> solved
- From: Nix <nix at esperi dot org dot uk>
- To: Oussama Chammam <ou_cha at hotmail dot com>
- Cc: <libc-help at sourceware dot org>
- Date: Sat, 02 Aug 2008 11:50:12 +0100
- Subject: Re: FW: errors while building glibc-2.7 --> solved
- References: <c81a07350807311624o169c4588l939598bcee64c3a8@mail.gmail.com><BAY124-W1A4C96078ECF49B604147E07F0@phx.gbl>
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"