Re: compile 32 bit on 64 bit machine

2011-04-06 Thread Sam Varshavchik
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

Re: compile 32 bit on 64 bit machine

2011-04-06 Thread Jakub Jelinek
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, > fro

compile 32 bit on 64 bit machine

2011-04-06 Thread Patrick Dupre
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