This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10060] 2.9.90 configure still does not figure out i686 (Pentium i686) without --with-cpu=
- From: "jason dot vas dot dias at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 11 Apr 2009 11:52:33 -0000
- Subject: [Bug libc/10060] 2.9.90 configure still does not figure out i686 (Pentium i686) without --with-cpu=
- References: <20090411045752.10060.jason.vas.dias@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jason dot vas dot dias at gmail dot com 2009-04-11 11:52 -------
OK, fair enough, you really don't want to discuss configure here -
but just for my own records, and to assist others who may have similar
problems, I'll document the fixes I find here .
First :
CFLAGS='-g -O2 -m32 -m96bit-long-double -march=pentium -mtune=generic -pipe'
ASFLAGS='-32'
LDFLAGS='-melf-i386'
ARCH=i686
export CFLAGS ASFLAGS LDFLAGS ARCH
../configure \
--prefix=/usr \
--libdir=/usr/lib/32 \
--sysconfdir=/usr/etc/32 \
--sharedstatedir=/usr/var/32 \
--datarootdir=/usr/share/32 \
--build=i686-pc-linux-gnu \
--target=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--with-headers=%{_prefix}/include --enable-bind-now \
--with-tls --enable-threads=posix --with-__thread \
--with-cpu=i686
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.