fedora-users April 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: compile 32 bit on 64 bit machine

Re: compile 32 bit on 64 bit machine

From: Sam Varshavchik <mrsam_at_nospam>
Date: Wed Apr 06 2011 - 12:18:09 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

Patrick Dupre writes:

> Hello,
> I am trying to compile a very simple application on a 64 bit machine
> which may run on a 32 bit machine.
> gcc -m32 ttt.c
> gives me an error:
> In file included from /usr/include/features.h:385,
> from /usr/include/stdio.h:28,
> from ttt.c:2:
> So, it seems that the include files are not correct.

The above is only the first part of the error message, you left out the
rest of it.

But, in any case, do you have the glibc.i686, glibc-static.i686, and glibc-
devel.i686 rpms installed in addition to their x86_64 counterparts?

-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines