delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/09/12:20:21

Xref: news2.mv.net comp.os.msdos.djgpp:912
From: vilardi AT panix DOT com (Greg Vilardi)
Newsgroups: comp.os.msdos.djgpp
Subject: Memory exhausted message in V2B4
Date: 8 Feb 1996 18:20:18 -0500
Organization: Panix
Lines: 38
Message-ID: <4fe0fi$ps5@panix3.panix.com>
NNTP-Posting-Host: panix3.panix.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi everyone. I'm trying to build my company's product under djgpp v2b4, 
and when I turn off optimization, I get a message from ld saying:

>c:/djv2b4/bin\ld.exe: final link failed: Memory exhausted

It is a large project, but I'm running on a 486DX/2-50 with 8Megs, using
386max v7.00 with a 10 meg virtual memory file. Do I need to send this
whole mess home to my trusty 386DX40 with 20Meg and about 500 Meg
available for swap? ;-) Or do I need to get the full djgpp v2 release
version to alleviate this? We would really like to use djgpp to do
in-house development of our unix based product line. 

Also, while I'm thinking about it, we also need a termio type interface, 
does anyone have even a partial one that can be used under v2?

As long as I keep thinking about this, are there any quirks about the 
lock() and/or _dos_lock() functions. SCO has a function called lockf() 
that I dummied up to get this to compile in the first place. Any help you 
can offer will be greatly appreciated.

One last question, (I promise.) (If I think of anymore I will post again 
;-) how many files can be physically open at one time under v2? Our 
database manager wants 50, so do I need to bump up a parameter somewhere 
and rebuild a library?

Any insights into any or all of these issues will be greatly appreciated.
E-mail replies are fine if people feel that this is not of general 
interest. Pointers to RTFM or RTFC are also appreciated with appropriate 
M or C references. I will summarize any info I get if requested.

Thanks again.
	-Greg

-- 
Greg Vilardi, Host: Scanner Cinema SouthEast       E-mail:vilardi AT panix DOT com
USnail: 87-B W. Hills Rd  |In-Touch Management Systems | Home:(516)385-7140
Huntington Sta., NY 11746 |Melville, NY 11747      | Work:(516)752-2701x240
..sig Version 0.4b(pre-beta release)           I thought, I wrote, I posted.

- Raw text -


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