This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: How to install 32 bit gcc on 64 bit RHEL5.1
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: "Yuan, Sai (NSN - CN/Cheng Du)" <sai dot yuan at nsn dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 12 Aug 2008 08:01:01 -0400
- Subject: RE: How to install 32 bit gcc on 64 bit RHEL5.1
Hi
To my knowledge I do not think we can create a 32-bit gcc on a 64-bit OS. What I did was to compile and create a 64-bit gcc and then use -m32 flag to make it compile in 32-bit. Did this on RHEL5.1 and the gcc version is 4.1.2.
With Regards
Vardhan