Mail Archives: djgpp/1994/07/26/14:33:59
> I noticed a large discrepancy in the compilation times of gcc
> when running under normal dos and under the dos prompt in windows.
> It runs very much faster under the windows dos prompt. I timed the
> compilation of a c++ object file and while it took about 8 minutes
> under dos, it was all over in about 30 seconds under windows !!
> Any reason why this should be so ? Furthermore the dos shell was
> set to execute in the background.
> Not that I mind the speed up :-) but I'd sure like to know why.
> Thanks for any answers.
Run "go32" at both prompts and see how much memory it gives you.
Chances are, there isn't enough memory in dos mode.
My record for compiling hello.c is 1.9 seconds. This was at the dos
prompt.
- Raw text -