delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/04/05:46:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C0CA974.9EA29478@syntrex.com>
Date: Tue, 04 Dec 2001 11:46:12 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Myriam Abramson <abramson AT aic DOT nrl DOT navy DOT mil>
CC: cygwin AT cygwin DOT com
Subject: Re: gcc newbie question
References: <cdn110j5lf DOT fsf AT sun23 DOT i-did-not-set--mail-host-address--so-shoot-me>

Myriam Abramson wrote:
> 
> Hi!
> 
> I need to make a dll.
> 
> I do
> gcc -Wl, shared -o foo.dll foo.o
> 
> But I get the following error:
> 
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open : No such file or directory
> collect2: ld returned 1 exit status
> 
> ld exists in /bin/ld so what's wrong?

The long line up there represents the following path:
/usr/lib/i686-pc-cygwin/bin/ld

So the question is - is ld.exe in this folder ? If not - install
the binutils package. As about the ld.exe in /bin  - maybe it's
just a link. Btw you can try to run it to see what happens.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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