Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



I don't think that's a good idea, it mixes up options for the build
and host platforms. (Consider the case of cross-compiling from an
Intel Mac to PowerPC-based Mac, in theory it should be possible to use
a current Xcode and SDK for the build platform code, and Xcode 3 +
10.4 SDK for the host platform. Not that there seems to be much
interest in trying out such cross-compilations.)

There is the --with-build-platform-configure-options switch for that,
you can pass 
--with-build-platform-configure-options=--with-macosx-sdk=10.6.

Thanks for the advice. Learned.

It encounters error for now:

ld: warning: ignoring file /opt/local/lib/libiconv.dylib, file was built
for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3
0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being
linked (i386): /opt/local/lib/libiconv.dylib
ld: warning: ignoring file /opt/local/lib/libz.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x
0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being
linked (i386): /opt/local/lib/libz.dylib
ld: in /opt/local/lib/libiconv.2.dylib, file was built for unsupported
file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0
0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386):
/opt/local/lib/libiconv.2.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[7]: *** [libgio-2.0.la] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
dmake:  Error code 2, while making
'./unxmacxi.pro/misc/build/so_built_so_glib'


The complete error log is at http://pastebin.com/3PCh4yD6


James



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.