compile 32 bit on 64 bit machine
Patrick Dupre
patrick.dupre at york.ac.uk
Wed Apr 6 12:01:13 UTC 2011
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.
I also tried:
gcc ttt.c -L/usr/lib/gcc/x86_64-redhat-linux/4.4.5/32 -m32
with the same error.
How can I make it works ?
thank.
--
---
==========================================================================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre at york.ac.uk
==========================================================================
More information about the users
mailing list