www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/13/11:12:29

From: e8725229 AT stud1 DOT tuwien DOT ac DOT at (godzilla)
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP <->Linux-GCC - question
Date: Mon, 13 Jan 97 06:32:19 GMT
Organization: Vienna University of Technology, Austria
Lines: 15
Message-ID: <5bcktj$b10_001@tuwien.ac.at>
NNTP-Posting-Host: tubiomed.tuwien.ac.at
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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