From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: egcs 1.00 11 Dec 1997 21:02:44 -0800 Message-ID: <9712120303.AA04364.cygnus.gnu-win32@modi.xraylith.wisc.edu> References: To: "Buckingham,Mark,SOLON,NUSA" Cc: "'gnu-win32 AT cygnus DOT com'" "Buckingham,Mark,SOLON,NUSA" writes: > > The command line never comes back. I checked into it with ps, and it > shows two copies of ld.exe running. > Ah! I think I might know what the problem is. Looks like you're basically seeing the following problem: 1. gcc calls collect2 (aka ld in gcc library directory) 2. ld looks for the "real" ld and somehow finds itself and execs it (itself in this case). 3. Repeats 2. On the other hand, the above I think can only happen under weird circumstances. I'm assuming that $prefix/lib/gcc-lib/i386-cygwin32/egcs-2.90.21/ is NOT in your path, right? Could you send me the following info: 1. your PATH and othe GCC related environment vars 2. the output of the following: $ type -all ld.exe ### << if you're running bash $ gcc -print-prog-name=ld $ gcc -v -o test.exe test.c -Wl,--verbose Thanks Mumit - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".