configure fails - compiler help

Riccardo Mottola riccardo.mottola at libero.it
Wed Oct 17 22:35:24 UTC 2018


Hi,

I am trying to compile a program using macport's clang. It should 
build with clang 3.9 as other tried that.

It uses ccache, I installed that too from macports.

Being on Leopart, I set the 10.5 SDK.

However, I get this:

configure:9841: checking whether the C++ compiler 
(/opt/local/bin/ccache clang++-mp-3.9  -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -fno-exceptions -fno-strict-aliasing 
-fno-rtti ) actually is a C++ compiler
configure:9860: /opt/local/bin/ccache clang++-mp-3.9 -o conftest  
-isysroot /Developer/SDKs/MacOSX10.5.sdk -fno-exceptions 
-fno-strict-aliasing -fno-rtti -Qunused-arguments   conftest.C  1>&5
ld: library not found for -lcrt1.10.6.o
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)


If you have any clue, help... of what could be wrong, please!

Riccardo



More information about the macports-users mailing list