www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/22/21:50:53

Xref: news2.mv.net comp.os.msdos.djgpp:2970
From: hexorlex AT io DOT com ()
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGpp compiling in 4megs
Date: 22 Apr 1996 23:16:49 GMT
Organization: Illuminati Online
Lines: 85
Message-ID: <4lh411$ap7@nntp-1.io.com>
References: <4lfgjk$o89 AT anarchy DOT io DOT com>
NNTP-Posting-Host: bermuda.io.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Earlier, I wrote asking for help getting djgpp (especially cc1plus.exe) 
to work in 4 megs of ram on a 486.  I had read some info in the archives 
and faq that seemed to indicate my problems (internal errors) might be 
caused by insufficient heap in cwsdpmi, so I tried to adjust that.  
Later, someone pointed out that it might be insuffecient stack size in 
cc1plus, so I used stubedit to try and fix that.

Another helpful soul refered me to the faq for information regarding 
setting up djgpp in low memory environs, but I had already followed 
everything there.

And it still won't work.  Just to make sure I was not going insane, I 
installed djgpp on the systems at work (NT 4.0beta, 32 megs of Ram) and 
it worked fine.

In summary, yes, I've read the faq, and no, it is not a real internal 
error since it compiles correctly on the NT machine.  Can anyone help me? 
Is anyone with a low memory machine compiling c++ stuff?

Just to round out my posting, here's some additional information about my 
system:

486DX33

4Dos 5.51b  Dos 6.00

"mem /c" returns:
-------------------------

Modules using memory below 1 MB:

  Name           Total       =   Conventional   +   Upper Memory
  --------  ----------------   ----------------   ----------------
  MSDOS        76781   (75K)      76781   (75K)          0    (0K)
  4DOS          4528    (4K)       4528    (4K)          0    (0K)
  Free        573712  (560K)     573712  (560K)          0    (0K)

Memory Summary:

  Type of Memory          Total       =       Used        +       Free
  ----------------  -----------------   -----------------   -----------------
  Conventional        655360   (640K)      81648    (80K)     573712   (560K)
  Upper                    0     (0K)          0     (0K)          0     (0K)
  Adapter RAM/ROM     393216   (384K)     393216   (384K)          0     (0K)
  Extended (XMS)     4194304  (4096K)    4194304  (4096K)          0     (0K)
  ----------------  -----------------   -----------------   -----------------
  Total memory       5242880  (5120K)    4669168  (4560K)     573712   (560K)

  Total under 1 MB    655360   (640K)      81648    (80K)     573712   (560K)

  Largest executable program size         573696   (560K)
  Largest free upper memory block              0     (0K)



my config.sys: 
------- 
Buffers=40,8 
Files=30 
DOS=UMB 
LASTDRIVE=E
FCBS=4,0
SHELL=C:\OS\4DOS\4DOS.COM C:\OS\4DOS /P

and autoexec.bat:
--------
@echo off 
set DJGPP=c:/djgpp/djgpp.env 
PROMPT $p$g 
PATH c:\os\4dos;C:\os\DOS;c:\utils\zip;c:\utils;C:\DJGPP\BIN;c:\wp\q;C:\ACRODOS
SET TEMPDIR=c:\os 
set grxfont=c:\djgpp\contrib\grx20\fonts 
set grx20drv=stdvga gw 640 gh 480 nc 16
 
 
 
 
 
 
 
 
  



- Raw text -


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