This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/22073] New: build a 32bit gcc-3.4.4 on AMD64/Opteron Linux
- From: "marek dot rouchal at infineon dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2005 06:30:18 -0000
- Subject: [Bug bootstrap/22073] New: build a 32bit gcc-3.4.4 on AMD64/Opteron Linux
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I would like to build a gcc/3.4.4 installation on RedHat Enterprise Linux 3.0
(AMD64 - Opteron hardware), in which the gcc binaries are 32bit, such that this
gcc installation would also be usable on 32bit (x86) hardware.
I tried all sorts of BOOT_CFLAGS=-m32 and/or CFLAGS_FOR_TARGET=-m32,
unfortunately to no avail, as the default of "make bootstrap" is to build 64bit
binaries on x86_64-unknown-linux-gnu.
The actual problem seems to be libiberty, which does not "see" the -m32 option
when building the stage1 compiler.
I hope this is not a FAQ - I did not find anything so far. And I am not saying
this is necessarily a bug, maybe I just did not find the correct set of macros.
Thanks,
Marek
--
Summary: build a 32bit gcc-3.4.4 on AMD64/Opteron Linux
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marek dot rouchal at infineon dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22073