[CentOS] Re: gcc -m32 on a x86_64 box

Wed Nov 29 08:03:08 UTC 2006
Kay Diederichs <kay.diederichs at uni-konstanz.de>

Jerry Geis wrote:
> Gents,
> 
> I am trying to do a "gcc -m32" on a x86_64 box.
> 
> gcc -m32 /tmp/jj.c
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> 
> This is the error I get.
> 
> I did a "yum install glib.i386" successfully.
> there is no "yum install glib-devel.i386".
> 
> How can i get a  "gcc -m32" compile on my x86_64?
> 
> THanks,
> 
> Jerry


yum install glibc-devel.i386

you were missing the "c"  (glibc, not glib).
HTH,
Kay