This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to link with libgd


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]