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


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

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.