comp.lang.ada
 help / color / mirror / Atom feed
From: jmatthews@nova.wright.edu (John B. Matthews)
Subject: Re: MachTen & GNAT memory requirements
Date: 1996/04/19
Date: 1996-04-19T00:00:00+00:00	[thread overview]
Message-ID: <1996Apr19.112413.53772@nova.wright.edu> (raw)
In-Reply-To: brennanw-1604961904540001@pacific-19.vf.pond.com

In article <brennanw-1604961904540001@pacific-19.vf.pond.com>,
brennanw@pond.com (William C Brennan) writes: "I'm chomping at the
bit for Ada on my Mac, but I need memory now for  other
applications.  Can anyone give me some estimate of how much memory 
I'll need to run GNAT under MachTen Unix, so I can load up with
sufficient RAM now?"

Short answer: it depends.

Long answer: For modest compilation units, I'm getting by with 16 MB
on an 8500 with virtual memory set to 32 MB. Jim Hopper, who's
actually building gnat on Mac, suggests that 32 MB is a minimum to
compile gnat itself; he regularly runs with more.

On PPC, the MachTen application Get Info says
   preferred size 4096 K
   minimum size   2048 K
   suggested zize 3072 K

MachTen allocates data fragments in the MachTen heap and code
fragments in the system heap. The compiler, gnat1, is 3.6 MB plus
whatever stack space you specify (in the 'cfrg' resource or using
MachTen's 'setstackspace' command.

You'll also want to plan for disk space. MachTen is UNIX, which
means lots of little files; MacOS HFS prefers a modest number of
large files. Nothing in MachTen requires that you partition your
hard disk; but if you do, MachTen makes mounting HFS partitions
easy.

MacTen (out of the box) + gnat for Mac (off the net) takes up
47,671,668 bytes for 2968 files. That's 51 MB in a 94 MB partition
but about 120 MB in a 1 GB partition.

Hope this helps.

John
----------------------------------------------------------------
Dr. John B. Matthews
jmathews@nova.wright.edu; john_matthews@ccmail.dayton.saic.com
"Whom the gods would destroy, they first invite to program in C"





      parent reply	other threads:[~1996-04-19  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-16  0:00 MachTen & GNAT memory requirements William C Brennan
1996-04-19  0:00 ` Gary McKee
1996-04-21  0:00   ` Michael Feldman
1996-04-19  0:00 ` John B. Matthews [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox