Probably better for us to just make a portfile for your software and build it as we build everything else then.
If it works, you could refer users to install macports to get your software on older systems.
If someone then later wants to help out bundling, they can work it out with you.
K
Ok, thanks, but I am not inclined/too busy to learn macports. My app is cross platform, and supporting Mac is way too time consuming and hard already. (I already have three macs with 4 different OSX on them!).
My normal 32bit build system is actually using gcc from the command line on El Cap. Trying to install the new cxxabi.h and libs into /usr there triggers El Cap's no-write-to-usr "feature" which i have forgotten how to circumvent, and doubt it will work anyway (as you mention). Obviously i cannot compile it on Snow Leopard due to no c++11 support (and no macports) on that system.
Compiling my app is not trivial either, due to it's Tcl/Tk dependancies. Thanks for the help though.
Steven
/usr/include#xcodebuild -version Xcode 7.3.1 Build version 7D1014 /usr/include#gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
there are a set of the required libs in here: http://packages.macports.org/libcxx/libcxx-5.0.1_5+emulated_tls+universal.darwin_10.i386-x86_64.tbz2You'll need both libc++ and libc++abi,, and probably the symlink too, in your bundle. As you said, use install_name_tool to fix things up. I have done such a bundling years ago, and it does work... but you would probably have to build the software on a 10.6 system or VM using macports for it to actually work out. We do some shenanigans to get libc++ to work right with 10.6. Simply using something built on 10.7 or 10.9 and linking it against that new libc++.dylib will most likely fail. Likewise, just setting the deployment_target to 10.6 on a newer system is also not likely to work, due to said shenanigans. K > On Jun 23, 2024, at 11:58 PM, Steven via macports-users < [email protected]> wrote: > > Hi Guys, > I was wondering if anyone has a c++-11 dylib tarball/dmg for me to include with my 32bit app so it will run on older Mac OSX ? I'm not super technical about Mac stuff, but I should be able to install_name_tool my exe to use it... Any other instructions? > Thanks Steven Atkinson > https://scidvspc.sourceforge.net/>
|