Ĭd " $HEXTD /build" $CMAKE_APP -DUSE_SYSTEM_LIBHEXT =On -DCMAKE_EXE_LINKER_FLAGS = " -static-libgcc -static-libstdc++ ". Ĭd " $LIBHEXTD /test/build" $CMAKE_APP -DBUILD_SHARED_LIBS =Off. Git clone "" " $HEXTD " LIBHEXTD = " $HEXTD /libhext" cd " $LIBHEXTD /build" $CMAKE_APP -DBUILD_SHARED_LIBS =Off -DCMAKE_POSITION_INDEPENDENT_CODE =On -DCMAKE_EXE_LINKER_FLAGS = " -static-libgcc -static-libstdc++ ". Perror_exit () " ) " >/dev/null & pwd ) /output" ] || perror_exit "cannot access output directory (expected ' $OUTD ')" HEXTD = $( mktemp -d ) Building ICU4Cīoost.Regex depends on ICU4C for Unicode support. These libraries will get statically linked into a dynamic library (the resulting Hext python module).I need static libraries, not dynamic ones.Homebrew does not support Mac OS X 10.11 anymore.Side Question: Why not use Homebrew? Homebrew would be perfect, but: I only had to adjust some stuff from my previous notes on building Hext statically on Linux-based systems. Building Hext’s Dependenciesīuilding on Mac OS X is pretty much straightforward. The “Command Line Tools” ship with an installer. Installing Xcode is as simple as dragging the unpacked folder into “Applications” and launching Xcode. Command Line Tools (macOS 10.11) for Xcode 8.2.Luckily Apple provides downloads for older versions of Xcode.įor Mac OS X 10.11 the required packages are named: Unless of course your system isn’t officially supported by Xcode anymore, like OS X 10.11 in my case. Xcode can be installed through the App Store. To know the minimum Mac OS X version a binary was built for, run otool -l and look for LC_VERSION_MIN_MACOSX.Īs I understand it, installing Xcode is the equivalent of apt install build-essentials on Debian-based systems.There’s no ldconfig but update_dyld_shared_cache.Bash shortcuts like + or + are accessible as, or, in the default terminal emulator.This can be disabled in Safari’s preferences dialog. That makes it impossible to verify checksums or signatures. When downloading gzipped packages, Safari seems to automatically gunzip the archive.Highest supported version of OS X for this machine: 10.11.6 - El CapitanĪssuming that later versions of Mac OS X are downwards binary compatible, El Capitan is the ideal build target, because it is the oldest version of Mac OS X that is still supported.2.26GHz Intel Core 2 Duo, 4GB DDR3, 128GB SSD.I’ve bought this quaint little machine off of Ebay: Note This is actually my first time screwing around with any Apple product! The primary target audience is ‘Me in 6 Months’, so YMMV. These are my notes on porting my python builds to Mac OS X. pip install hext), but that was only for Linux-based systems. I have previously documented the process of bringing hext to PyPi (i.e. you are able to use Hext within a Python project. Hext is my little library that has (simple) language bindings for Python, i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |