Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Mac Binaries
Sonic McTails:
--- Quote from: afb on May 05, 2006, 11:40:08 am ---
--- Quote from: Sonic McTails on May 05, 2006, 03:49:02 am ---I should be able to do a seperate PPC binary build though.
...
I'm going to use lipo to stick all the bits together.
--- End quote ---
When autotools are involved, it is usually easier to do two separate builds.
One for target "powerpc-apple-darwin8", and one for "i686-apple-darwin8".
This is also half the size of what a Universal Binary is, but if that is required
one can use lipo to combine the binaries (programs and libraries) at the end ?
--- End quote ---
There is actually a long set of compiler flags you can pass to do it one pass, which is how I did it with wxMac. Howeve, due to the braindead design of autotools, codeblocks hangs itself trying this stunt. I was trying seperate buids, but I got extremely tired last ight so here I go again.
afb:
--- Quote from: Sonic McTails on May 05, 2006, 02:15:25 pm ---There is actually a long set of compiler flags you can pass to do it one pass,
--- End quote ---
Yeah, but it doesn't always work :P
Q: Do we want one PPC build and one X86 build, or a Universal Binary ?
Pecan:
--- Quote from: afb on May 05, 2006, 02:21:30 pm ---
Q: Do we want one PPC build and one X86 build, or a Universal Binary ?
--- End quote ---
I vote separate pkgs. Faster downloading and install. For us older imacgx users, the Universal is just extra weight.
And the macNtel users most likely will not use the ppc.
afb:
BTW; I uploaded "codeblocks-rev2411_macppc.zip" to BerliOS
Sonic McTails:
--- Quote from: Pecan on May 05, 2006, 02:31:12 pm ---
--- Quote from: afb on May 05, 2006, 02:21:30 pm ---
Q: Do we want one PPC build and one X86 build, or a Universal Binary ?
--- End quote ---
I vote separate pkgs. Faster downloading and install. For us older imacgx users, the Universal is just extra weight.
And the macNtel users most likely will not use the ppc.
--- End quote ---
Seperate packages mean double the work for packing. Universal binaries in this case are preferable, because I also keep apps on a network share and use them between both PPC and i686. You can use Monolingual to strip out the excess arch: http://monolingual.sourceforge.net/
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version