Re: [Help-gsl] Binary installer for GSL-1.13 on MinGW

2010-01-23 Thread John Pye

seb_kramm wrote:

John Pye a écrit :

As for the DLLs, it's supposed to be OK to simply copy them to the same
directory as your executable.$


Sure, but then, you need to duplicate the dll files for every project 
that uses gsl !



You shouldn't have to put them in your
system folder (nor is that generally encouraged).


Hmm, I have an opposite point of view, but doesn't matter.


FYI I have updated this installer to produce static as well as shared 
libraries. So now, if you don't want to ship one more DLL with your 
program, you don't have to, you can just statically link, and (IIUIC) 
the linker will only include the parts of GSL that you actually used.


Licensing... can anyone tell me what the correct thing to do in this 
case is? I am distributing FOSS packages licensed under GNU and they 
contain statically linked bits of GSL, also licensed under GSL. What do 
I have to do to correctly and legally acknowledge this fact?


Cheers
JP



___
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl


Re: [Help-gsl] Binary installer for GSL-1.13 on MinGW

2009-10-07 Thread seb_kramm

John Pye a écrit :

As for the DLLs, it's supposed to be OK to simply copy them to the same
directory as your executable.$


Sure, but then, you need to duplicate the dll files for every project that uses 
gsl !


You shouldn't have to put them in your
system folder (nor is that generally encouraged).


Hmm, I have an opposite point of view, but doesn't matter.

Regards,
Sebastien Kramm



___
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl


Re: [Help-gsl] Binary installer for GSL-1.13 on MinGW

2009-10-06 Thread John Pye
Hi Seb

Thanks for the feedback. I did at one point take a look at the GnuWin32
stuff, but I couldn't find any documentation at the time about their
packaging process, so I moved on and used my own. I'm using NSIS for a
few different things, so it was easy for me to continue like that.
http://ascendwiki.cheme.cmu.edu/Category:MinGW

I'll take a look at maybe working out a way to produce an installer that
can provide either/both static/dynamic (shared) libraries. I usually opt
for shared libraries, although obviously static linking has some
advantages for distributability.

As for the DLLs, it's supposed to be OK to simply copy them to the same
directory as your executable. You shouldn't have to put them in your
system folder (nor is that generally encouraged).

Cheers
JP

seb_kramm wrote:
 Great, thanks a lot. I was still using 1.8.
 Just downloaded, and tried.

 Some remarks:

 With the previous release I used (see below), I did static linking
 with files libgsl.a and libgslcblas.a
 In your release, there appears to be only the latter file, and you
 provide a 'dll' version (libgsl.dll.a) for gsl.
 I tried to link with it, it went fine, but then you need to copy the
 two dll files in your windows/system32 in order to make things work. I
 did this, but it could be a problem for people with non-administrative
 access to their machines.
 Maybe the package could provide both type of libraries/linking
 methods? (the static libs aren't that big, anyway...)

 And it could be a good idea to send your work to the people from the
 gnuwin32 project at sourceforge ?
 http://gnuwin32.sourceforge.net/
 http://gnuwin32.sourceforge.net/packages/gsl.htm
 As I get it, it's a kind of central point for gnu software windows
 binaries, and it's latest gsl build is 3 years old (although other
 packages there are much more recent!)

 But still, thanks again for making this available. I'm a basic gsl
 user, and I presently don't have time to consider building it myself !


 John Pye a écrit :
 Hi all

 I packaged an installer for GSL 1.13 on MinGW for anyone who might find
 it useful. Basically, you can use this within MinGW/MSYS to avoid having
 to build your own GSL from source.

 http://ascendwiki.cheme.cmu.edu/Binary_installer_for_GSL-1.13_on_MinGW

 Let me know if you have any feedback on this, either by email, or on the
 wiki above.

 Cheers
 JP




 ___
 Help-gsl mailing list
 Help-gsl@gnu.org
 http://lists.gnu.org/mailman/listinfo/help-gsl


-- 
Dr John Pye
Dept of Engineering
Australian National University




___
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl