compiling glib-2.6.4 as 32bit on AMD64
- From: Bernd Knorr <bernd knorze de>
- To: gtk-list gnome org
- Subject: compiling glib-2.6.4 as 32bit on AMD64
- Date: Wed, 11 May 2005 23:33:30 +0200
Hi,
I'm just building 64bit-LinuxFromScratch for Athlon64. To be able to run 32bit
apps like Firefox I want to provide also a 32bit version of the needed libs
(like GTK+ and all its dependencies). When compiling glib-2.6.4 I pass the
-m32 flag to the compiler in order to build a 32bit version. No other changes
in the build procedure. The build fails in an early stage with the following
error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthread
-m32 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fPIC
-DPIC -o .libs/gatomic.o
/tmp/ccUH2LHC.s: Assembler messages:
/tmp/ccUH2LHC.s:75: Error: suffix or operands invalid for `cmpxchg'
make[4]: *** [gatomic.lo] Fehler 1
If I pass "--build=i686" to the configure-script, glib builds fine, but
results only in static libs, which is not what I want.
Any suggestions ?
knorze
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]