www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/29/05:05:45

Date: Mon, 29 May 2000 10:44:44 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jackie <jackie AT work DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Howto: compile w/ Large Memory Model
In-Reply-To: <8gsmvg$3tn$1@hfc.pacific.net.hk>
Message-ID: <Pine.SUN.3.91.1000529104301.24119L-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 Mon, 29 May 2000, Jackie wrote:

> As title....

There are no memory models in DJGPP, so you need not bother with this.  
You have access to all the memory that the DPMI server lets you use 
(typically, at least 64MB).

> I now do a "gcc -O2 %1.cpp -o %1.exe -lstdcxx"

This is fine for C++ programs.  I suggest to add -Wall, to get more 
diagnostics from the compiler, and add -g to be able to debug the 
programs with a source-level debugger.

- Raw text -


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