You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've a Debian 64bit machine (testing) and installed all development tools needed by osxcross (gcc, clang 3.9, llvm 3.9, llvm-3.9-dev, libxml2, libxml2-dev, libcrypto++-dev, zlib1g, zlib1g-dev).
I need the produced osx cross tools to support '-bitcode_bundle'. The standard build.sh scripts works fine but the produced ld (linker) does not support '-bitcode_bundle' (I get a 'ld: -bitcode_bundle support via llvm/libxar not compiled in'). I backtraced building script (i.e. build.sh), and found the following:
the build of xar library is guarded by a 'if [[ $SDK == *.pkg ]]; then'
my osx sdk was a tar.xy
I removed the 'if' guard and the xar library was built successfuly
anyway the produced 'ld' does not support '-bitcode_bundle'
I've seen (within build.sh) that cctools are built before xar library. Maybe the two sections must be exchanged?
Any idea on how to get '-bitcode_bundle' support?
Many thanks in advance.
Matteo.
The text was updated successfully, but these errors were encountered:
The bundled xar is only used for SDK extraction atm.
Install libxar on your system before building OSXCross:
cd build
mkdir tmp
cd tmp
tar xf ../../tarballs/xar-1.6.1.tar.gz
cd xar-1.6.1
patch -p0 < ../../..//patches/xar-ext2.patch
ac_cv_lib_crypto_OpenSSL_add_all_ciphers=yes ./configure
make
[sudo] make install
export LD_LIBRARY_PATH=/usr/local/lib
Hello, I've a Debian 64bit machine (testing) and installed all development tools needed by osxcross (gcc, clang 3.9, llvm 3.9, llvm-3.9-dev, libxml2, libxml2-dev, libcrypto++-dev, zlib1g, zlib1g-dev).
I need the produced osx cross tools to support '-bitcode_bundle'. The standard build.sh scripts works fine but the produced ld (linker) does not support '-bitcode_bundle' (I get a 'ld: -bitcode_bundle support via llvm/libxar not compiled in'). I backtraced building script (i.e. build.sh), and found the following:
I've seen (within build.sh) that cctools are built before xar library. Maybe the two sections must be exchanged?
Any idea on how to get '-bitcode_bundle' support?
Many thanks in advance.
Matteo.
The text was updated successfully, but these errors were encountered: