Compiling 32-bit applications on 64-bit Hardy

Marcin ‘Qrczak’ Kowalczyk qrczak at knm.org.pl
Tue Jul 29 12:57:01 UTC 2008


2008/7/26 Sonal Santan <sonal.santan at gmail.com>:

> I am trying to a compile a simple 32 bit hello world C application on my
> x86_64 Hardy. gcc provides a switch -m32 to generate code for x86 using
> a x86_64 gcc. However, compilation or rather linking fails with the
> following message:

sudo apt-get install gcc-multilib

-- 
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/




More information about the ubuntu-users mailing list