Joonas, which version of gcc do you have installed? I have gcc version
4.2.3-1ubuntu3 and gcc-4.2 version 4.2.3-2ubuntu1 installed. However, my
gcc command does not seem to be able to build 32-bit binaries using the
-m32 option. When I follow your instructions, configure complains that
the compiler can't create executables. I believe the problem is with the
static libgcc the gcc uses when linking. I have also installed gcc-3.4
version 3.4.6-6ubuntu3 for comparison.

The command "gcc -print-libgcc-file-name" returns "/usr/lib/gcc/x86_64
-linux-gnu/4.2.3/libgcc.a" which looks right. However, "gcc -m32 -print-
libgcc-file-name" gives me exactly the same result: "/usr/lib/gcc/x86_64
-linux-gnu/4.2.3/libgcc.a" which can't be right.

In contrast "gcc-3.4 -print-libgcc-file-name" gives me
"/usr/lib/gcc/x86_64-linux-gnu/3.4.6/libgcc.a" and "gcc-3.4 -m32 -print-
libgcc-file-name" gives me "/usr/lib/gcc/x86_64-linux-
gnu/3.4.6/32/libgcc.a".

As far as I can tell, this is a serious bug in the Hardy gcc-4.2 (and
gcc-4.1) packages, so I probably need to submit separately.

-- 
libflashsupport useless on amd64
https://bugs.launchpad.net/bugs/180008
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to