[plt-scheme] extensions that use libraries with libc (cygwin)

From: Ron Stanonik (stanonik at Cogsci.ucsd.edu)
Date: Wed Dec 31 12:33:31 EST 2003

On Wed, 31 Dec 2003, Ron Stanonik wrote:
> > Here's the old thread, but I doubt that it has anything useful:
> > 
> >  http://list.cs.brown.edu/pipermail/plt-scheme/2003-October/003714.html
> That was me.  Our extension is running in cygwin again.  I now explicitly
> link with libmzsch205_00N.lib, where N is the current revision.  Wish I
> understood why.  I tried compiling and linking with mzc --cc and --ld,
> figuring that would be the most portable method, but I failed.  So,
> I just use g++.  I'm appending the makefile.  Wish I had a simpler example
> for you.  Our C/C++ code creates libpad.a, which we link with several
> external libraries.  (Now that we're using libMagick to load images,
> we should be able to drop the libjpeg, libtiff, and libpnm.)

I forgot to mention that I had to use the nightly windows tarball, not the
self-extracting version.  The self-extracting 205 version lacks

stanonik at cogsci.ucsd.edu

Posted on the users mailing list.