From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Maximums? Date: Sun, 31 May 1998 09:53:07 +0100 Organization: None Message-ID: References: <19980530 DOT 224945 DOT 4630 DOT 1 DOT matthew DOT krause AT juno DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk (noname) writes: >Hi. I was wondering: >a)What is the largest number of object files the linker will accept (or >does this depend on RAM, HD space etc.)? There may be some fixed limit, but if so I suspect this is so high that you will never encounter it. Running out of virtual memory (ie. HD space) is likely to happen first. The djgpp libc.a contains no less than 665 objects, so it can certainly go at least that high. >b)How many objects can I cram into an Allegro datafile? Limited only by the amount of virtual memory. >c)What's the biggest source file that gcc will compile? Again, virtual memory is the main limiting factor. I've found that you can make huge source files without any problems (although this is obviously a bad idea from a stylistic point of view :-) but that very large functions or huge initialised arrays can eat up ridiculous amounts of space when compiling. -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Miracles are nothing if you've got the wrong intentions" - Mike Keneally