Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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