GNU GCC -m32 Problem?

Joseph North joseph.north@gmail.com
Mon Oct 29 16:08:00 GMT 2007


On 10/28/07, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> >    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.
>
> No, you also need to install the 32-bit glibc-devel package before you
> can link 32-bit applications on the 64-bit system. For FC6 this would
> be glibc-devel-2.5-18.fc6.i386.rpm
>
> Your question is off-topic on the gcc mailing list, which is for
> discussion of development *of* GCC, not *with* GCC.  For help using
> the compiler you should use gcc-help@gcc.gnu.org so please follow up
> there (although I'm not sure your question is related to Motif or GCC
> but just a system not set up for what you want to do)
>
> Regards,
>
> Jon
>




Dear Jon:


   Thanks a lot, ~ "gcc -m32 . . " worked!
   However, then, I got,

/usr/bin/ld: skipping incompatible ../../libastro/libastro.a when
searching for -lastro
/usr/bin/ld: cannot find -lastro
collect2: ld returned 1 exit status
make: *** [xephem] Error 1
[root@sco xephem]# ll

.
   Mayday, Veuillez M'Aider, s'il vous plait!
   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)!



More information about the Gcc-help mailing list