<div dir="ltr"><div class="gmail_extra" style>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. </div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>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.</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>(The CC and CXX I get in a 64-bit OS X tree using the 10.8 SDK are:</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>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<br>

</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>and</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>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<br>

</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>and that happens automatically based on the --enable-64-bit --with-macosx-sdk=10.8 --with-macosx-version-min-required=10.7 switches)</div><div class="gmail_extra" style>

<br></div><div class="gmail_extra" style>--tml</div></div>