delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/23/17:36:52

Sender: nate AT cartsys DOT com
Message-ID: <36D32D50.585763E5@cartsys.com>
Date: Tue, 23 Feb 1999 14:36:00 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: 586 to 386
References: <36D3133D DOT 41C AT hotmail DOT com>
Reply-To: djgpp AT delorie DOT com

Leif wrote:
> 
> Hi, im running DJGPP and RHide on a 586 processor.
> I would like to compile my code to run on a 386.
> Is there a way to tell the compiler not to use the any 586 optimizations
> so I can get it to run on a 386?

Unless you specifically tell the compiler to do 586 etc optimizations,
it won't, AFAIK.  If you're paranoid, you can use `-march=i386'.

See also FAQ chapter 11 if the 386 in question has no FPU.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019