From: Ulrich Drepper Date: Mon, 26 Jul 1999 01:57:38 +0000 (+0000) Subject: Regenerated: /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in X-Git-Tag: cvs/glibc_2-1-2~240 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19e6317f58762202a6e48167c4a099c82e3189c7;p=thirdparty%2Fglibc.git Regenerated: /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in --- diff --git a/FAQ b/FAQ index 08ed73ec3c0..ac9fd12684c 100644 --- a/FAQ +++ b/FAQ @@ -41,6 +41,9 @@ please let me know. 1.15. What's the problem with configure --enable-omitfp? 1.16. I get failures during `make check'. What should I do? 1.17. What is symbol versioning good for? Do I need it? +1.18. How can I compile on my fast ix86 machine a working libc for my slow + i386? After installing libc, programs abort with "Illegal + Instruction". 2. Installation and configuration issues @@ -514,6 +517,23 @@ compatibility - forever! The binary compatibility you lose is not only against the previous version of the GNU libc (version 2.0) but also against all future versions. + +1.18. How can I compile on my fast ix86 machine a working libc for my slow + i386? After installing libc, programs abort with "Illegal + Instruction". + +{AJ} glibc and gcc might generate some instructions on your machine that +aren't available on i386. You've got to tell glibc that you're configuring +for i386 with adding i386 as your machine, for example: + + ../configure --prefix=/usr i386-pc-linux-gnu + +And you need to tell gcc to only generate i386 code, just add `-mcpu=i386' +(just -m386 doesn't work) to your CFLAGS. + +{UD} This applies not only to the i386. Compiling on a i686 for any older +model will also fail if the above methods are not used. + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .