Actually, you can also use -lcsound if you link (or copy) the dll to libcsound.a,
according to:
http://sourceware.org/binutils/docs-2.15/ld/WIN32.html
Something is preventing Csound32.dll.5.1 to be linked to, though, as I
also get the same errors as you did.
But it's possible to link to DLL, as I can do it with say libsndfile:
gcc -o test myprog.c -I/usr/local/include /usr/local/bin/libsndfile-1.dll
and it works
Victor
----- Original Message -----
From: Rory Walsh <rorywalsh@ear.ie>
Date: Friday, February 1, 2008 5:10 pm
Subject: Re: [Cs-dev] Linking to Csound dll
To: Developer discussions <csound-devel@lists.sourceforge.net>
> Thanks Victor, I wasn't aware of that.
>
> Rory.
>
>
> Victor.Lazzarini@nuim.ie wrote:
> > -L only works with -l, you should pass the full directory
> > to the dll. There might one or two other flags to allow the
> > linking to work, but the idea is more or less that;
> > I'll have a look.
> >
> > Victor
> >
> > ----- Original Message -----
> > From: Rory Walsh <rorywalsh@ear.ie>
> > Date: Friday, February 1, 2008 5:03 pm
> > Subject
>
> -----------------------------------------------------------------
> --------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel