www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 28 May 2008 21:36:59 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Unable to link with libgd |
Message-ID: | <20080529013659.GA13599@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <340731 DOT 67136 DOT qm AT web65701 DOT mail DOT ac4 DOT yahoo DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <340731.67136.qm@web65701.mail.ac4.yahoo.com> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Wed, May 28, 2008 at 06:33:02PM -0700, Mark Smith wrote: >I am trying to use libgd, but the linking step fails. >Can anyone help with this? I installed the libgd >development package using the cygwin installer. > >Here is where I try to build the circletexttest that >comes with the libgd source (beware of wrapped lines). > > >gcc -g -O2 -I/usr/include/freetype2 >-I/usr/X11R6/include -L/usr/lib >-L/usr/X11R6/lib -lgd circletexttest.c -o >circletexttest Put the -lgd after the circletexttest.c. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |