René Dudfield | 15 Dec 2011 17:42
Picon
Gravatar

portmidi OSX ppc, x86 32 and 64?

Hello,

I'm trying to get a binary of portmidi that works on ppc, x86, and x86 64...

I've been trying to compile it on Lion, with no luck.

Does anyone provide a binary somewhere?  Or can anyone help me compile it?


cheers,

_______________________________________________
media_api mailing list
media_api@...
http://lists.create.ucsb.edu/mailman/listinfo/media_api
Roger Dannenberg | 15 Dec 2011 17:55
Picon
Favicon

Re: portmidi OSX ppc, x86 32 and 64?

I'm still not running Lion, but I think there is some incompatibility. 
This is on my list to look into, but I'd also be happy to get a patch or 
Lion version.

-Roger

On 12/15/11 11:42 AM, René Dudfield wrote:
> Hello,
>
> I'm trying to get a binary of portmidi that works on ppc, x86, and x86 
> 64...
>
> I've been trying to compile it on Lion, with no luck.
>
> Does anyone provide a binary somewhere?  Or can anyone help me compile it?
>
René Dudfield | 15 Dec 2011 18:05
Picon
Gravatar

Re: portmidi OSX ppc, x86 32 and 64?



On Thu, Dec 15, 2011 at 5:55 PM, Roger Dannenberg <rbd-f2C5tSyVZpc@public.gmane.orgu.edu> wrote:
I'm still not running Lion, but I think there is some incompatibility. This is on my list to look into, but I'd also be happy to get a patch or Lion version.

-Roger


 Well, I did have it compiled on Lion... just not with ppc.  Since Apple removed the ppc compiler.  There are some hacks to get it working again though (sym linking in the binaries). 

Well, I think my compiled version worked (I don't have my midi hardware with me to test properly)

We need this for pygame.midi since we still support PPC machines, and have users on those machines asking for it.


cheers!
_______________________________________________
media_api mailing list
media_api@...
http://lists.create.ucsb.edu/mailman/listinfo/media_api
Richard Dobson | 15 Dec 2011 18:01
Picon
Favicon

Re: portmidi OSX ppc, x86 32 and 64?

Note that as of Xcode 4.x, the ppc is no longer supported. You have to 
build with Xcode 3.2.x to get ppc support(and possibly also build for 
minimum OS version = 10.4.x, as not all ppc machines will necessarily 
have upgraded to Leopard). Sometimes it is easier to buid on a G4-based 
machine (using Xcode 3.x) and then add the binary to the intel builds 
with lipo. There remains the question of how long one should go on 
supporting the ppc. A three-way fat binary makes for a large file, and 
95% (?) of the time the 1/3rd that is the ppc version is just dead weight.

Richard Dobson

On 15/12/2011 16:42, René Dudfield wrote:
> Hello,
>
> I'm trying to get a binary of portmidi that works on ppc, x86, and x86 64...
>
> I've been trying to compile it on Lion, with no luck.
>
> Does anyone provide a binary somewhere?  Or can anyone help me compile it?
>
>
> cheers,
>
>
>
> _______________________________________________
> media_api mailing list
> media_api@...
> http://lists.create.ucsb.edu/mailman/listinfo/media_api
René Dudfield | 15 Dec 2011 18:08
Picon
Gravatar

Re: portmidi OSX ppc, x86 32 and 64?



On Thu, Dec 15, 2011 at 6:01 PM, Richard Dobson <richarddobson-QgLWrMLu8clzjhtm8Ag3mw@public.gmane.org> wrote:
Note that as of Xcode 4.x, the ppc is no longer supported. You have to
build with Xcode 3.2.x to get ppc support(and possibly also build for
minimum OS version = 10.4.x, as not all ppc machines will necessarily
have upgraded to Leopard). Sometimes it is easier to buid on a G4-based
machine (using Xcode 3.x) and then add the binary to the intel builds
with lipo. There remains the question of how long one should go on
supporting the ppc. A three-way fat binary makes for a large file, and
95% (?) of the time the 1/3rd that is the ppc version is just dead weight.

Richard Dobson



hrmm, maybe I should buy an old mac just for ppc support.  Or maybe I can load an older OSX on a virtual machine some how.

Extracting the ppc binary with lipo would be a good idea too.

cheers, and thanks.
_______________________________________________
media_api mailing list
media_api@...
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Gmane