Re: compile 32 bit on 64 bit machine

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

 



On Wed, Apr 06, 2011 at 01:01:13PM +0100, Patrick Dupre wrote:
> 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:

The above is not an error, just a context of some error.
I guess the error is that /usr/include/gnu/stubs-32.h doesn't exist
on your box, which is easily solvable by
sudo yum install /usr/include/gnu/stubs-32.h
(which is the same as
sudo yum install glibc-devel.i686
).  You want also 32-bit libgcc if you don't have it installed,
so
sudo yum install glibc-devel.i686 libgcc.i686

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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux