Closed macosforgebot closed 14 years ago
_mclguard-netmail@… originally submitted this as comment:1:ticket:107
For the record here's the lipo output for the binary in question.
lipo -detailed_info /Users/michael/MISC-Code/darwinbuild/build/libredo_prebinding.a Fat header in: /Users/michael/MISC-Code/darwinbuild/build/libredo_prebinding.a fat_magic 0xcafebabe nfat_arch 2 architecture i386
cputype CPU_TYPE_I386 cpusubtype CPU_SUBTYPE_I386_ALL offset 48 size 273256 align 22\ (4)
architecture x86_64
cputype CPU_TYPE_X86_64 cpusubtype CPU_SUBTYPE_X86_64_ALL offset 273304 size 294424 align 22\ (4)
This affects only darwinbuild itself not building within in it.
wsiegrist@… originally submitted this as comment:2:ticket:107
Trunk is intended for use on Snow Leopard. See also the blog post.
_mclguard-netmail@… originally submitted this as ticket:107
I just updated to truck build for darwinbuild and I discovered two problems first when attempt to run make I get:
Making all in darwinbuild make[1]: No rule to make target
darwinmaster.sh.in', needed by
darwinmaster.sh'. Stop. make: [all] Error 1Second even change archs to ARCHS = i386 ppc
libredo_prebinding.a is still intel only see the fallowing script used to retrieve a binary version without building otools:
set -x BUILD=10A432 HOST=src.macosforge.org
make sure we only run when needed if [ -f /usr/local/lib/libredo_prebinding.a ]; then
fi
/usr/bin/curl -kL http://$HOST/Roots/$BUILD/cctools_ofiles.root.tar.gz > $CONFIGURATION_TEMP_DIR/cctools_ofiles.root.tar.gz
/bin/mkdir -p $BUILT_PRODUCTS_DIR
/usr/bin/tar zxOf $CONFIGURATION_TEMP_DIR/cctools_ofiles.root.tar.gz ./usr/local/lib/libredo_prebinding.a > $BUILT_PRODUCTS_DIR/libredo_prebinding.a
/bin/mkdir -p $DSTROOT/$PREFIX/lib/
/bin/cp $BUILT_PRODUCTS_DIR/libredo_prebinding.a $DSTROOT/$PREFIX/lib/
This effectively hard codes the build arch to intel-only. As the binary file only has these arch. This goes against the documentation in the readme stating the default can be overridden.