Compiling 32-bit applications on 64-bit Hardy

Jim Rosser jarosser06 at gmail.com
Tue Jul 29 13:25:30 UTC 2008


Have you installed gcc-multilib

On Tue, Jul 29, 2008 at 6:57 AM, Marcin 'Qrczak' Kowalczyk <
qrczak at knm.org.pl> wrote:

> 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/ <http://qrnik.knm.org.pl/%7Eqrczak/>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Jim Rosser
Winchester Designs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080729/f92d4fa3/attachment.html>


More information about the ubuntu-users mailing list