www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/22/13:11:01

From: "DeHackEd" <Not DOT given AT out>
References: <35b57ed7 DOT 984131 AT news DOT ihug DOT co DOT nz>
Subject: Re: compiling allegro gives "virtual memory exhausted"
Date: Wed, 22 Jul 1998 10:14:20 -0400
Lines: 20
Message-ID: <etsoVsXt9GA.221@upnetnews03>
Newsgroups: comp.os.msdos.djgpp
NNTP-Posting-Host: d11-bn46-blvl-pda.attcanada.net [142.194.137.203]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This is probably because the compiler is optimizing the files for speed. Though
this is desirable with a graphics library, the solution is to get in an
environment with more memory. If you are in Windows95, try exiting any
unnecessary programs, or exit to DOS and use CWSDPMI as your memory provider.
Or, if you are really desperate, compile the files without optimizations (I
would not recommend this!).

gcc src\cblend15.c -c -o obj\djgpp\cblend15.o -fomit-frame-pointer -ffast-math

The only optimizations I recommend if you are short on memory are those above.

--
"DeHackEd"

My Email address in the header is fake (spammers). Email me at this address:

http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked



- Raw text -


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