| delorie.com/archives/browse.cgi | search |
| 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 |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3CF55CC3.3080406@ece.gatech.edu> |
| Date: | Wed, 29 May 2002 18:57:07 -0400 |
| From: | Charles Wilson <cwilson AT ece DOT gatech DOT edu> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 |
| X-Accept-Language: | en-us |
| MIME-Version: | 1.0 |
| To: | perlspinr AT att DOT net |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygwin ld is messing with me? |
| References: | <20020528203729 DOT GJBL5116 DOT mtiwmhc23 DOT worldnet DOT att DOT net AT webmail DOT worldnet DOT att DOT net> |
perlspinr AT att DOT net wrote:
> My makefile causes the DLL to be named {cyggd.dll.a}
> which AFAIU is the "right" way, the Cygwin-packagers
> standard way, to name a lib that depends on the
> Cygwin1.dll rt (as opposed to -mno-cygwin stuff).
cyggd.dll <<< the typical name for the ***DLL***
libgd.dll.a <<< the typical name for the ***import library***
>
> The lib gets put into /usr/local/lib and of course the
> DLL itself goes into /usr/local/bin (BOY I sure hope
> nobody reading this needs to ask why or challenge it ...
> that would be very OTPF [Off The Purpose For] this
> thread). But ld (as run by master gcc) reports it cannot
> find "-lgd" and dies.
You probably need to include -L/usr/local/lib in your link line. IIRC,
ld doesn't search /usr/local/lib by default, only /lib, /usr/lib, and
the gcc-specific locations (/lib/gcc-lib/something/ ???).
--Chuck
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |