www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/13/14:53:34

From: premelfa AT vega DOT utc DOT fr (Fabrice Premel)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP <->Linux-GCC - question
Date: 13 Jan 1997 11:21:23 GMT
Organization: Universite de Technologie de Compiegne - France
Lines: 23
Message-ID: <5bd5rj$5r@utcnews.utc.fr>
References: <5bcktj$b10_001 AT tuwien DOT ac DOT at>
NNTP-Posting-Host: vega.utc.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

godzilla (e8725229 AT stud1 DOT tuwien DOT ac DOT at) wrote:
: Hi !
: i ask this just out of couriosity,but hope there is an answewr nonetheless.
: i've programmed quite a lot of numerical stuff using DJGPP and now i've 
: switched to Linux - gcc and under linux i can allocate much more memory then 
: with DJGPP under DOS -> why??
: to make it clearer:
: i declare e.g. 10 fields (doubles) with NP components.
: in DJGPP thep program compiles without any warning, but i get a segmentation 
: fault already if NP = 5000.
: under Linux i let NP be 100000 and the program works fine [it just takes a lot 
: of tim to run :-) ]
: if it matters: i have a Pentiom 133 with 32 MB RAM.
: thanks for any answers
: greetings 
: godzilla

--
Maybe you've got a swap under Linux ?
I don't think that djgpp can handle disk swaps, but linux can.
don't know if is the solution, but i tried ...

							F.

- Raw text -


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