How to link the following library under Cygwin?

Andrew Markebo
Sat Dec 21 06:28:00 GMT 2002

/ Elfyn McBratney <> 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.


 The eye of the beholder rests on the beauty!

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list