Re: [hatari-devel] Things still remaining before v1.8 release?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Thu, Jul 31, 2014 at 10:19 AM, Troed Sångberg <troed@xxxxxxxxxxx> wrote:
Specifically the lines starting with @executable_path are new - and now I can start this Hatari.app even after I've removed my CAPSImage and SDL frameworks from the system Frameworks dir. (/opt/local/lib is an artifact of my Macports SDL but _should_ be optional since SDL.Framework is also searched for).


Famous last words - I found another Mac user and the previous link still tried to find my Macports SDL instead of the embedded SDL.Framework.

New version.. Gave up on SDL.Framework and embedded the .dylib from Macports instead.


$ otool -L ~/dev/hatari/src/Release/Hatari.app/Contents/MacOS/hatari 
dev/hatari/src/Release/Hatari.app/Contents/MacOS/hatari:
@executable_path/../SharedSupport/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 20.0.0)
/usr/lib/libedit.3.dylib (compatibility version 2.0.0, current version 3..0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
@executable_path/../SharedSupport/libpng16.16.dylib (compatibility version 29.0.0, current version 29.0.0)
@executable_path/../SharedSupport/libportaudio.2.dylib (compatibility version 3.0.0, current version 3.0.0)
@executable_path/../Frameworks/CAPSImage.framework/CAPSImage (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1056.13.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 2577.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1265.19.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.14.0)

$ lipo -info ~/dev/hatari/src/Release/Hatari.app/Contents/MacOS/hatari 
Architectures in the fat file: Hatari.app/Contents/MacOS/hatari are: x86_64 i386

$ lipo -info ~/dev/hatari/libSDL-1.2.0.dylib 
Architectures in the fat file: dev/hatari/libSDL-1..2.0.dylib are: x86_64 i386

$ lipo -info ~/dev/hatari/libpng16.16.dylib 
Architectures in the fat file: dev/hatari/libpng16.16.dylib are: x86_64 i386

$ lipo -info ~/dev/hatari/libportaudio.2.dylib 
Architectures in the fat file: dev/hatari/libportaudio.2.dylib are: x86_64 i386

(If nothing else this all will end up with me knowing a lot more about Xcode and hopefully one more person who's able to build Hatari releases. Sorry for taking so long in getting there)

The project settings are to create a universal binary (32 and 64 bit) with OS X 10.5 (Lion) as target.

/Troed
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/