This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compile for i386
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Rony Paul <ronypaul77 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 11 May 2011 11:58:57 +0100
- Subject: Re: compile for i386
- References: <BANLkTikH6MQPy+1mtT2=RbARd0H7wP3ffQ@mail.gmail.com>
On 11 May 2011 11:35, Rony Paul wrote:
> In my computer ubuntu 10.04 is running, I have installed GCC 4.5.0,
>
> I want to compile my program for the target i386...how do I do that?
-march=i386
http://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/i386-and-x86_002d64-Options.html