delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/11/21:02:44

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: <c=US%a=INFONET%p=NESTLE%l=NESTLE/US01/001FB66E AT phx1nm02 DOT nesusa DOT com>
To: "Buckingham,Mark,SOLON,NUSA" <mark DOT buckingham AT us DOT nestle DOT com>
Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

"Buckingham,Mark,SOLON,NUSA" <mark DOT buckingham AT us DOT nestle DOT com> 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".

- Raw text -


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