On Wednesday 14 December 2005 04:28, Michael Gogins wrote: > My aplogies if I broke anything, but if I did it should be easy to fix. > > I had to change SConstruct in order to build both the Python libraries and > the tclcsound stuff on Windows with MinGW. > > The changes amount to first building the tclcsound shared library, then > creating a new Environment for Tclcsound programs which links with the > tclcsound library, and then using the new Environment to build the Tclcsound > programs. > > This is necessary because SCons objects to building the same object > (commands.o) more than once with different flags. > > I have updated the NSIS Windows installer to include the Tclcsound library > and applications, as well. > > I'm fairly confident this will work on Linux, but I'm not so sure about OS > X, and have no way to test it. If I have broken the OS X build, then we will > need to conditionally build the new way on Windows and the old way on OS X. I think it could have been enough to just build commands.c as a SharedObject, and adding that to the sources of all three targets. Linking to tclcsound.so does not work on Linux because it uses a non-standard name (i.e. no 'lib' prefix), and it also requires installing the library to a directory where it is found by the dynamic linker at run-time. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net