>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 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice