Mail Archives: djgpp/1998/12/28/23:31:17
I have recently installed "GNU Software for MS-Windows and MS-DOS"
on a Dell Precision 610 with dual Pentium Xeon processors and 512MB of RAM,
running Windows NT 4.0
The gcc version is 2.7.2.1
I am trying to understand performance problems when I execute
a cygwin gcc compiled program under bash in an Emacs shell window,
or under the Windows NT "Command Prompt".
Just doing:
gcc --version
requires 10 seconds elapsed time.
The following C main program also takes 10 seconds before the
program prints any output and exits.
The executable is built as follows:
gcc -o tst1.exe tst1.c
_______________ tst1.c ___________________
#include <stdio.h>
int main (int argc, char **argv)
{
int i;
for (i=0; i<argc; i++) {
printf("%s\n", argv[i]);
}
return 0;
}
Is this performance problem due to the old DOS 16-bit emulation going on,
or is there some kind of 10-sec timer involved in something?
- Raw text -