Subject: Re: How to link the following library under Cygwin?
From: Andrew Markebo <[email-masked]>
To: [email-masked]
Date: Sat, 21 Dec 2002 12:24:04 +0100

/ Elfyn McBratney <[email-masked]> wrote:
| Try this:
>
|   $ gcc -o test -L. libmetis.a initialize.c
>
| You need to include the static archive into your image. I'm pretty sure the -l{} only applies to shared libraries.

Just a short note, more that putting the lib at the end, -lmetis is
not only for shared libraries, works for static ones too.

    /Andy

-- 
 The eye of the beholder rests on the beauty!

--
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/