delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/30/05:24:30

Date: Tue, 30 Jan 2001 12:22:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mike Darrett <ez073236 AT mailbox DOT ucdavis DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp and windows
In-Reply-To: <Pine.GSO.4.21.0101300009340.20406-100000@runner.ucdavis.edu>
Message-ID: <Pine.SUN.3.91.1010130121917.16223W-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 30 Jan 2001, Mike Darrett wrote:

> Are the RSXNTDJ and MingW32 ports of gcc based on DJGPP's code?

They are different ports of the same compiler.

> Code
> generated with gpp's -O3 switch produces the fastest code I've ever
> seen... knocks the socks off even Borland C++ 5.5's free compiler.

Run-time speed depends not only on the code produced by the compiler, but 
also on its alignment, the alignment of data, and, to some extent, on the 
run-time memory layout.  These are different between the 3 ports.  
However, the resultant speed differences are usually around 10% or so, 
except in some extreme cases.

> I'm
> interested in writing OpenGL and DirectX code for Windows, though, and
> don't think I can use DJGPP for those environments?

You cannot use DJGPP to write Windows programs.

Note that graphics on Windows has some overhead due to interaction with 
Windows.

- Raw text -


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