cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/28/23:31:17

Date: Mon, 28 Dec 1998 20:30:42 -0800
Message-Id: <199812290430.UAA24382@cowell>
From: Lynn Quam <quam AT ai DOT sri DOT com>
To: djgpp AT delorie DOT com
Subject: djgpp performance problems?
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019