www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/30/19:35:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37F3F2E7.80E4A4C5@ssmb.com>
Date: Thu, 30 Sep 1999 19:31:51 -0400
From: John Whitney <john DOT whitney AT ssmb DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: why gcc.exe compilation SLOW on NT?

Hey Folks,

I didn't expect my "helloworld.c" program to take 10 minutes to compile
via cygwin's gcc.exe (version egcs-2.91.57) on my NT machine.  The
compile did complete and the resulting exe does run, but why so long to
compile?

I'm a unix/gcc veteran but am very new to NT.  (I don't dare make
assumptions about what is going on under NT's hood yet).

Below is my program.  I used a command line like "gcc.exe -o hello.exe
helloworld.c" in bash and in the dos shell.  Both were slow.  From bash,
the ps command showed something called collect2.exe running along with
gcc.exe.  Sorry, I don't know if collect2.exe is relevant.

The NT machine is a late-model, multiuser, lightly used, heavyduty
server (ie, LOTS of memory).

------------
#include <stdio.h>

int
main(int argc, char **argv)
{
 printf("hello world, %s\n", argv[argc-1]);
}
-----------



Thanks in advance for any insights,

John Whitney

john DOT whitney_a AT t_ssmb DOT com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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