Date: Tue, 30 Jan 2001 12:22:31 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Mike Darrett cc: djgpp AT delorie DOT com Subject: Re: djgpp and windows In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.