Mail Archives: djgpp/1997/03/08/08:52:38
Mike McLean (libolt AT goodnet DOT com) wrote:
: I am running DJGPP under windows 95 on my Pentium 133 with 40 megs of
: RAM. I know that GCC is not loaded into memory automatically like
: other compilers, but I would like to know if there is a way to store
: it in memory so it will compile faster, please let me know if this is
: in the FAQ, or atleast a way to do it. Many thanks
Section 3.9 of the FAQ explains several sensible system configurations
for various (low!) amounts of RAM. With 40 Mb, you should have plenty.
If Windows 95 allows it (I'm not sure), make a RAM disk, perhaps about
5 Mb, and SET TMPDIR=E:\ or whatever the RAM disk letter is. This should
improve performance.
If the linking stage is the slow part, you could try increasing the size
of LD's transfer buffer.
Note that GCC will run faster if you give it less to do. If you put
switches on the commandline to enable optimisation, it takes longer than
if you leave them out.
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -