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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Nov 27, 2006 at 01:05:22PM -0500, 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?

try

setarch i386 gcc -m32


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux