delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/29/20:04:13

From: Dave Nugent <dave DOT nugent AT ns DOT sympatico DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: The Code DJGPP Generates
Date: Mon, 29 Dec 1997 10:17:42 -0800
Organization: Bell Solutions
Lines: 24
Message-ID: <34A7E946.72F5@ns.sympatico.ca>
Reply-To: dave DOT nugent AT ns DOT sympatico DOT ca
NNTP-Posting-Host: 142.177.19.107
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm a newbie at DJGPP and was just wondering a few things.

1 - I see some programs written with DJGPP first run something called a
DOS
Extender??  When I write and compile a program in DJGPP is it
automatically
32 bit?  If so, why do I not need to use a DOS Extender?  Does my
program
automatically switch to protected mode transparently?

2 - Since it (DJGPP) requires a 386 or higher, should I assume that any
program compiled with it will not run on a 286?  Also does this mean it
generates 386 instructions.

3 - If DJGPP uses 386 instructions, should I assume (that the same code
written
in DJGPP, and in Borlands Turbo C++ (Compiled in 286 mode). that DJGPP's
code will
run faster?  Or is it only a small difference?  Is it only noticably
quicker when
doing things like 32 bit memory transfers?

Thanks in advance to anyone who can help me!
Dave!

- Raw text -


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