OSX build failure on master in ucpp
Tor Lillqvist
tml at iki.fi
Wed Aug 21 02:12:17 PDT 2013
Probably not a good idea to pass a CC environment variable but not a CXX
one. (Do you try to build C code as 64-bit, but not C++ code?;)) And
actually, one should not pass CC and CXX at all unless one knows *exactly*
what one is doing.
The configure script is supposed to figure out what compiler to use
automatically on OS X. CC and CXX end up *quite* complicated. The way to
get a 64-bit LO is to pass --enable-64-bit to autogen.
(The CC and CXX I get in a 64-bit OS X tree using the 10.8 SDK are:
CC=/usr/local/bin/ccache
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-m64 -mmacosx-version-min=10.7 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
and
CXX=/usr/local/bin/ccache
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-m64 -mmacosx-version-min=10.7 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
and that happens automatically based on
the --enable-64-bit --with-macosx-sdk=10.8
--with-macosx-version-min-required=10.7
switches)
--tml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130821/2adfa088/attachment.html>
More information about the LibreOffice
mailing list