Date: Mon, 29 May 2000 10:44:44 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jackie 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: 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 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.