Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <3CF55CC3.3080406@ece.gatech.edu> Date: Wed, 29 May 2002 18:57:07 -0400 From: Charles Wilson 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@att.net CC: cygwin@cygwin.com Subject: Re: Cygwin ld is messing with me? References: <20020528203729.GJBL5116.mtiwmhc23.worldnet.att.net@webmail.worldnet.att.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit perlspinr@att.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/