www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/05/16:48:58

Xref: news2.mv.net comp.os.msdos.djgpp:4627
From: Daniel Vernon Bailey <bailey AT wpi DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Program too big to fit in memory
Date: Wed, 5 Jun 1996 11:44:11 -0400
Organization: Worcester Polytechnic Institute
Lines: 58
Message-ID: <Pine.OSF.3.93.960605112924.15083B-100000@reno.WPI.EDU>
NNTP-Posting-Host: reno.wpi.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

-----BEGIN PGP SIGNED MESSAGE-----


I'm getting the error Program too big to fit in memory when I attempt to
run any applications I compile with djgpp 2.0 with no patches.  The two
machines I'm using are a 486-66 for DOS and win3.1 with 8 MB ram, and a
P-120 with 32MB for Win95.
	The application I'm writing is a port from Microsoft C6, where it
works fine.  I think I'm just doing something very wrong when I try and
link.  I've tried to run the resulting executable under DOS with the
CSDPMI1B DPMI server (6396k DPMI memory available, 92600k DPMI swap space
availalbe), under Windows 3.1, and under Windows 95, all with no luck. 
Win95's mem command reports largest executable program size as 607k, so
I'm pretty convinced that enough memory is available, I'm just hosing
something when I compile/link.  The executable dss.exe is 260k.  My
make.bat: 

gcc -c -I. -I.. -g -O dss.c
gcc -c -I. -I.. -g -O keygen.c
gcc -c -I. -I.. -g -O dsa.c
gcc -c -I. -I.. -g -O sha.c

ld -Tdjgpp.lnk -o dss.exe *.o libgmp.a libc.a libm.a libpc.a libgcc.a

libgmp is the GNU MP library, combiled out of the box with their supplied
make.bat, all other libraries are straight from the 2.0 distribution of
djgpp.  TIA for any suggestions!
					Dan

**************************************************************************
Support your local info-calypse				    bailey AT wpi DOT edu
"The Internet cannot be regulated.  It's not that laws aren't relevant, 
    it's that the nation state is not relevant." Nicholas Negroponte, 1996
       The Cypherpunks: Civil liberties through complex mathematics.
**************************************************************************

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzBYhuAAAAEEAMqcmOqWTa+tjClDO+UUGIS6EmM9yhLBnddyrEOCUMqrGnN1
buiGifP632Eqzy8eUP5Ivm0eeJ6rXaf/Xpa22xs2+PLVi/DNk81O6VMEBv/svXPB
3blkn53uI+uZ9FW4gb5bhuRHgGNVWdm9IMixA16kj2aCpyhudp527uiI09GdAAUR
tBtEYW4gQmFpbGV5IDxiYWlsZXlAd3BpLmVkdT4=
=w/L+
- -----END PGP PUBLIC KEY BLOCK-----


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: PGP Signed with PineSign 2.2

iQCVAwUBMbWrRZ527uiI09GdAQFTOwQAr8wFZ1w7mtwHGDjAn7a3g20MUSRcNeqE
EP66CRB1jnlG+EwwNwOZDPlUzJjh5u2uonPT1wI6JlWCW8KOhMyQuP+/bUrXaPii
Y6l5u31BdRXOu3ljaEKfcPaNziR+ONQf4aupiU01RCyB/8vwRe1PhZWVqBPbKjpK
t11a4seaj38=
=zTb+
-----END PGP SIGNATURE-----

- Raw text -


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