Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] SConstruct changes for tclcsound

Date2005-12-14 14:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] SConstruct changes for tclcsound
I did not mean that; rather keeping things as they were. The three targets
as they are: cswish -> wish shell, cstclsh-> tcl shell (both with builtin 
tclcsound commands)
tclcsound.* -> tclcsound dynamic loadable module, for use with standard 
tclsh and wish.

Victor

At 14:17 14/12/2005, you wrote:
>Merging the tclcsound lib with the csnd lib is the best solution, I agree.
>
>Regards,
>Mike
>
>-----Original Message-----
>From: Victor Lazzarini 
>Sent: Dec 14, 2005 5:05 AM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] SConstruct changes for tclcsound
>
>It will be easier if cswish, cstclsh and tclcsound.so(.dylib.dll) link
>directly against libcsound. It is strange that on OSX and Linux,
>as well as windows MSVC, there was no problem with the way
>tclcsound was built before. Commands.c was shared between those
>targets without any problem. I don't know why the problem in MSYS
>
>At 09:57 14/12/2005, you wrote:
> >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
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>
>-------------------------------------------------------
>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
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
>-------------------------------------------------------
>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
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
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

Date2005-12-14 17:30
FromIstvan Varga
SubjectRe: [Cs-dev] SConstruct changes for tclcsound
AttachmentsNone