This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GNU GCC -m32 Problem?
- From: "Joseph North" <joseph dot north at gmail dot com>
- To: "Kai Ruottu" <karuottu at mbnet dot fi>
- Cc: gcc at gcc dot gnu dot org, "Danny Dineen" <dannytd at gmail dot com>, "Lance Lee" <llee4 at austin dot rr dot com>
- Date: Sun, 28 Oct 2007 18:03:38 -0500
- Subject: Re: GNU GCC -m32 Problem?
- References: <1d11c7570710281419t792edb36xb46d40048c4fd9d9@mail.gmail.com> <47250329.4060403@mbnet.fi>
On 10/28/07, Kai Ruottu <karuottu@mbnet.fi> wrote:
> Joseph North wrote:
> > I have had a problem getting my "long double" version of
> > XEphem 3.7.2 to build under Red Hat Linux Fedora 7, x86_64
> > on an AMD Athlon 64 X2 Dual-Core Processor 5600+ based
> > PC.
> > It builds OK under Red Hat Linux Fedora Core 6 on a Celeron
> > based 32-bit computer. I could then bring the 32-bit application
> > executable to the 64-bit PC, and it worked fine also.
> > However, I could not get it to build (using make) on the 64-bit PC,
> > even when I had specified ~ gcc -m32 . . ., using the latest GNU
> > GCC Compiler Collection (i.e., gcc-4.1.2-33.x86_64.rpm, et caetera,
> > installed). Also, when I tried a simple C program - NO Motif at all
> > involved - I got compile error messages related to ~ stdlib.h, ~ 32 bit
> > stub missing, I seem to recall, for, I'm not at home now.
> >
> The 32-bit development libraries maybe are not installed... But at least
> that 'stdlib.h' should be common
> for both the default 64-bit and the optional 32-bit libraries, so maybe
> also the 64-bit libraries were
> not installed...
>
> I myself have the 32-bit Fedora7 and remember that those "C/C++
> development" things, wanted
> or not, were asked when installing... For bare "kernel compiling" those
> C libraries are not needed.
>
>
Dear Kai:
Thank you!
I'll try to check into the details when I get back home, and let you know
more.
I thought the entire GCC suite (x86_64 version) installed OK. I believe
I just need that suite for "-m32" to work OK.
Tempus fugit et ad augusta per angusta.
Nil desparare (Gauss),
Joseph Roy D. North
Le Roi Du Nord
3220 Duval Road, Apt. 1110
Austin, TX 78759-3524, USA
Scientia est Potentia!
I Prefer Pi (a palindrome)!