Csound Csound-dev Csound-tekno Search About

[Csnd] csnd

Date2009-08-20 11:20
FromRory Walsh
Subject[Csnd] csnd
Does this library come with the windows installer? If so is it a dll
or a .a file? If it's the latter can one simply rename it from
csnd.dll to csnd.a and use it as an import lib with MinGW? Osrry but I
don't use the windows installers here and don't want to try one as it
will mess up my system settings...

Rory.


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-08-20 12:42
FromMichael Gogins
Subject[Csnd] Re: csnd
It is a .dll. If there is also a .a, that file cannot be renamed, it
is an import lbrary for the .dll. With MinGW, unlike with Microsoft
C++, you do not actually need an import library, you can link directly
with a .dll, just as you can link directly with an .so on Linux or
Unix.

To expand upon the binutils manual section on MinGW/Cygwin, for -lcsnd
the linker looks for the following, in order:

          libcsnd.dll.a (import library for libcsnd.dll)
          csnd.dll.a (import library for csnd.dll)
          libcsnd.a (static library or import library)
          csnd.lib (static library or import library)
          cygcsnd.dll (directly linking to (Cygwin) DLL)
          libcsnd.dll (directly linking to DLL)
          csnd.dll (directly linking to DLL)

Regards,
Mike

On 8/20/09, Rory Walsh  wrote:
> Does this library come with the windows installer? If so is it a dll
> or a .a file? If it's the latter can one simply rename it from
> csnd.dll to csnd.a and use it as an import lib with MinGW? Osrry but I
> don't use the windows installers here and don't want to try one as it
> will mess up my system settings...
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>

Date2009-08-20 12:57
FromRory Walsh
Subject[Csnd] Re: Re: csnd
Thanks Mike, just the info I was looking for.

2009/8/20 Michael Gogins :
> It is a .dll. If there is also a .a, that file cannot be renamed, it
> is an import lbrary for the .dll. With MinGW, unlike with Microsoft
> C++, you do not actually need an import library, you can link directly
> with a .dll, just as you can link directly with an .so on Linux or
> Unix.
>
> To expand upon the binutils manual section on MinGW/Cygwin, for -lcsnd
> the linker looks for the following, in order:
>
>          libcsnd.dll.a (import library for libcsnd.dll)
>          csnd.dll.a (import library for csnd.dll)
>          libcsnd.a (static library or import library)
>          csnd.lib (static library or import library)
>          cygcsnd.dll (directly linking to (Cygwin) DLL)
>          libcsnd.dll (directly linking to DLL)
>          csnd.dll (directly linking to DLL)
>
> Regards,
> Mike
>
> On 8/20/09, Rory Walsh  wrote:
>> Does this library come with the windows installer? If so is it a dll
>> or a .a file? If it's the latter can one simply rename it from
>> csnd.dll to csnd.a and use it as an import lib with MinGW? Osrry but I
>> don't use the windows installers here and don't want to try one as it
>> will mess up my system settings...
>>
>> Rory.
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"