Csound Csound-dev Csound-tekno Search About

[Cs-dev] Linux PPC

Date2006-11-12 16:16
FromJulian Peterson
Subject[Cs-dev] Linux PPC
Hello developers.

Thanks for 5.04.  I'm happy to report that python is now working as 
expected in OSX.
In the last few days, I've been working with csound and python in ubuntu 
linux for ppc.  I've set up my system to dual boot both ubuntu and osx 
and have had the opportunity to compare the performance of csound and 
other applications side by side on the same hardware.  The performance 
difference is alarmingly in ubuntu's favor.  As a result, I'm going to 
steadily migrate from OSX to linux-ppc.

I would like to offer my services in creating a linux-ppc package for 
future releases of csound.  I have little experience with programming in 
c so I would not be terrible helpful in other areas of development, but 
I am quite comfortable checking out csound from cvs and building it on 
my system.  I'm sure that with the advice of those on this list I could 
quickly learn how to built a package for distribution that would be 
useful for the minority of csound linux users on ppc hardware.

At this time, I have built a version with fltk, osc, and jack support as 
these are the features that I currently use in my own composing.  With 
earlier versions I have built the Loris opcodes.  I was never able to 
successfully build the STK opcodes-- but have not tried for a few 
versions (and gave up because I only had marginal interest in them).

If you think that this would be useful for the csound community, I would 
certainly be thrilled to have the opportunity to contribute to the 
development of csound.

Thanks again for all of your efforts.


Julian Peterson

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-13 17:11
FromAnthony Kozar
SubjectRe: [Cs-dev] Linux PPC
Julian,

This is a great idea!  I do occassionly use Linux PPC myself and I have been
wondering about the status of that build recently.

I will point out that some components of the Csound build either will not
build or will not work correctly with the current scons build script on
Linux PPC.  This is because the build script assumes a little-endian
processor for Linux and PPC is big endian.  Fortunately, the core of Csound
no longer has any endian issus (thanks to using libsndfile which I believe
will correctly configure itself).

However, the sfont library will require that the WORDS_BIGENDIAN macro be
defined in order to work correctly.  There is also code in SConstruct that
assumes little endian for Linux when building the STK opcodes.  I do not
know if this is why it failed to build for you, but the SConstruct file will
have to be changed if the STK opcodes are to work correctly.

I brought up these issues a few weeks ago but I do not think any attempt to
correct them has been made yet.  You could make local modifications to
SConstruct (or maybe custom.py) for now, but we really should come up with a
permanent solution.

Thanks very much for your offer to work on this!  Let me (us) know what help
you need to make it happen.

Anthony Kozar
anthonykozar AT sbcglobal DOT net


Julian Peterson wrote on 11/12/06 11:16 AM:

> In the last few days, I've been working with csound and python in ubuntu
> linux for ppc. 

> I would like to offer my services in creating a linux-ppc package for
> future releases of csound.

> At this time, I have built a version with fltk, osc, and jack support as
> these are the features that I currently use in my own composing.  With
> earlier versions I have built the Loris opcodes.  I was never able to
> successfully build the STK opcodes-- but have not tried for a few
> versions (and gave up because I only had marginal interest in them).


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-13 17:21
FromJulian Peterson
SubjectRe: [Cs-dev] Linux PPC
Thanks.  I'll look into this.  I have a few exams this week so I'll 
probably not get to it until the end of the month.  I'm almost certain 
you are correct about the endianess issues with STK (it's been a few 
months, but I seem to recall that was the issue at the time).

At this point, I have built everything that I generally use.  Over the 
next several weeks I'll try to build the features that I do not 
generally use, such as STK, Loris, etc. and report my findings back to 
the list.  I'm somewhat new to this, but I hope to have a complete 
linuxppc build ready for a 5.05 release.

Thanks for the encouragement.  You'll be hearing from me again, I'm sure....

JP

Anthony Kozar wrote:
> Julian,
>
> This is a great idea!  I do occassionly use Linux PPC myself and I have been
> wondering about the status of that build recently.
>
> I will point out that some components of the Csound build either will not
> build or will not work correctly with the current scons build script on
> Linux PPC.  This is because the build script assumes a little-endian
> processor for Linux and PPC is big endian.  Fortunately, the core of Csound
> no longer has any endian issus (thanks to using libsndfile which I believe
> will correctly configure itself).
>
> However, the sfont library will require that the WORDS_BIGENDIAN macro be
> defined in order to work correctly.  There is also code in SConstruct that
> assumes little endian for Linux when building the STK opcodes.  I do not
> know if this is why it failed to build for you, but the SConstruct file will
> have to be changed if the STK opcodes are to work correctly.
>
> I brought up these issues a few weeks ago but I do not think any attempt to
> correct them has been made yet.  You could make local modifications to
> SConstruct (or maybe custom.py) for now, but we really should come up with a
> permanent solution.
>
> Thanks very much for your offer to work on this!  Let me (us) know what help
> you need to make it happen.
>
> Anthony Kozar
> anthonykozar AT sbcglobal DOT net
>
>
> Julian Peterson wrote on 11/12/06 11:16 AM:
>
>   
>> In the last few days, I've been working with csound and python in ubuntu
>> linux for ppc. 
>>     
>
>   
>> I would like to offer my services in creating a linux-ppc package for
>> future releases of csound.
>>     
>
>   
>> At this time, I have built a version with fltk, osc, and jack support as
>> these are the features that I currently use in my own composing.  With
>> earlier versions I have built the Loris opcodes.  I was never able to
>> successfully build the STK opcodes-- but have not tried for a few
>> versions (and gave up because I only had marginal interest in them).
>>     
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net