Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] oload.c

Date2005-07-17 12:46
FromMichael Gogins
SubjectRe: [Cs-dev] oload.c
I will make another attempt to link CsoundVST with a dynamic Csound library. In the meantime, perhaps you could have a build option for nulling these pointers, but leave them in for the release.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Jul 16, 2005 5:34 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] oload.c

Michael Gogins wrote:

> In the meantime, if it is too much trouble to link the utilities dynamically,
 > I have no objection to removing the pointers again.

It is easy to link the utilities dynamically (just add dynamicCsoundLibrary=1
to the scons options), although on Linux (and possibly OS X) it requires
setting LD_LIBRARY_PATH so that the libcsound.so file is actually found by
the system. Also on Linux a dynamically linked Csound runs about 5% slower.
However, neither of the above are a problem on Win32: it is enough to have
csound.dll in the same directory as csound.exe, CsoundVST.exe, or any other
executables, and there is apparently no slowdown either.
Indeed, in my just announced Win32 release I did use a dynamic Csound library
which is largely responsible for having a package size of only 7 MB, even
though full source code, HTML manual, and both single and double precision
binaries are included.

In any case, a released version of Csound should come with the Compile and
Perform pointers enabled, however, it is convenient to have the pointers
replaced with NULL for development as the reduction in executable sizes and
linking time does make a difference on old computers (such as the one I have).


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net