Re: [swfmill] [help needed] release script for OSX universal binaries
Well, I've got a non statically-linked version of swfmill built for Intel Mac OS X, but I couldn't get a static version to compile. Had mucho problems with ld not being able to find symbols like _CStringToPascalString (I think) but I think that was caused by an earlier compiler warning that it could not compile statically in the current configuration (or something to that effect.) Humph! I'll try and google for the specific error message and see what that turns up. -- Steve Webster http://dynamicflash.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] [help needed] release script for OSX universal binaries
hi all, it would be great if someone with mac-compilation experience could give me a hand in trying to get the release procedure straight. I'd like to produce universal binaries (ppc/intel) for OSX. i have rather little idea how to approach this. i'm using a friend's OSX server running on PPC, i'm installing the needed libraries in a subdirectory of my home, then linking statically against them. how would i approach building a universal binary at all? obviously, it should be done with gcc and other opensource tools. alternatively, send over an intel powerbook to have me care about it myself ;) -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [help needed] release script for OSX universal binaries
it would be great if someone with mac-compilation experience could give me a hand in trying to get the release procedure straight. I'd like to produce universal binaries (ppc/intel) for OSX. i have rather little idea how to approach this. Sorry, I don't have an intel based osx. So I won't be of any help. alternatively, send over an intel powerbook to have me care about it myself ;) I'll ask Santa Claus also ! --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [help needed] release script for OSX universal binaries
On 8/25/06, erixtekila [EMAIL PROTECTED] wrote: it would be great if someone with mac-compilation experience could give me a hand in trying to get the release procedure straight. I'd like to produce universal binaries (ppc/intel) for OSX. i have rather little idea how to approach this. Sorry, I don't have an intel based osx. So I won't be of any help. My new employer have blessed me with a new Intel MacBook Pro (dodgy, explosive battery included free of charge) so I can take a look at trying to get an intel build out. Not that I had much luck with a statically-linked PPC build, mind you ;o) I have my head burried in book work this weekend, but it's a public holiday on Monday here in the UK so I should have time to look at it thenprobably. As for how universal binaries are produced I have no idea; it can't possibly be as simple as passing an extra --arch switch to gcc, as suggested by the top few results in google. Steve -- Steve Webster http://dynamicflash.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [help needed] release script for OSX universal binaries
If I recall correctly, a universal binary isn't actually a single file, it is multiple executable files stored in side of an app bundle under Contents/MacOS/ and then referenced in the Contents/Info.plist. I think the first place to look is at the format of Info.plist for app bundles, that should tell you some info on what meta is needed to consider something a universal binary. Oh, and if that is the case, it would almost be pointless becase an app bundle is specifically for when an application has a gui, which would mean there is no point for swfmill. Hope this helps. DanOn 8/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: On 8/25/06, Steve Webster [EMAIL PROTECTED] wrote: My new employer have blessed me with a new Intel MacBook Pro (dodgy, explosive battery included free of charge) so I can take a look at trying to get an intel build out.Our designer just had his MBP recalled from the vendor, for a newmotherboard due to unspecified reasons. His battery isn't one of theaffected ones, though. As for how universal binaries are produced I have no idea; it can't possibly be as simple as passing an extra --arch switch to gcc, as suggested by the top few results in google.I tried your new employer's search engine (for once, normally I go with the market leader because I already know their search operators)and a link brought me here: http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.htmlCongrats for the new job!Mark___swfmill mailing list swfmill@osflash.orghttp://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [help needed] release script for OSX universal binaries
Actually it looks like I am wrong, according to this page: http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_compiling/chapter_2_section_7.html#//apple_ref/doc/uid/TP40002217-CH206-240191 you can specify two different arch flags to gcc 4.0 like the following: -arch ppc -arch i386 Sorry if I caused any confusion. Dan On 8/25/06, Dan Shryock [EMAIL PROTECTED] wrote: If I recall correctly, a universal binary isn't actually a single file, it is multiple executable files stored in side of an app bundle under Contents/MacOS/ and then referenced in the Contents/Info.plist. I think the first place to look is at the format of Info.plist for app bundles, that should tell you some info on what meta is needed to consider something a universal binary. Oh, and if that is the case, it would almost be pointless becase an app bundle is specifically for when an application has a gui, which would mean there is no point for swfmill. Hope this helps. Dan On 8/25/06, Mark Winterhalder [EMAIL PROTECTED] wrote: On 8/25/06, Steve Webster [EMAIL PROTECTED] wrote: My new employer have blessed me with a new Intel MacBook Pro (dodgy, explosive battery included free of charge) so I can take a look at trying to get an intel build out. Our designer just had his MBP recalled from the vendor, for a new motherboard due to unspecified reasons. His battery isn't one of the affected ones, though. As for how universal binaries are produced I have no idea; it can't possibly be as simple as passing an extra --arch switch to gcc, as suggested by the top few results in google. I tried your new employer's search engine (for once, normally I go with the market leader because I already know their search operators) and a link brought me here: http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html Congrats for the new job! Mark ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [help needed] release script for OSX universal binaries
Hi Dan, If I recall correctly, a universal binary isn't actually a single file, it is multiple executable files stored in side of an app bundle under Contents/MacOS/ and then referenced in the Contents/Info.plist. I think the first place to look is at the format of Info.plist for app bundles, that should tell you some info on what meta is needed to consider something a universal binary. Oh, and if that is the case, it would almost be pointless becase an app bundle is specifically for when an application has a gui, which would mean there is no point for swfmill. Hope this helps. From what I've read you can take the bundle approach if you are dealing with a GUI application and the one file route if you're building a command-line tool. I remember reading that they've fiddled with the ELF headers (or Mach headers, can't remember which) to make this work. Cheers, Steve -- Steve Webster http://dynamicflash.com ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org