libobjc2: clang not found?

2013-05-27 Thread David Wetzel
Hi dave@sina>clang --version clang version 3.2 (tags/RELEASE_32/final) Target: x86_64--netbsd Thread model: posix dave@sina>which clang /usr/pkg/bin/clang dave@sina>cd Build dave@sina>cmake .. -- The C compiler identification is GNU 4.5.3 -- The CXX compiler identification is GNU 4.5.3 -- Check

Re: libobjc2: clang not found?

2013-05-28 Thread Ivan Vučica
export CC=clang export CXX=clang cmake .. The -fPIC error may be unrelated, though. Regards, Ivan Vučica via phone On 28. 5. 2013., at 05:47, David Wetzel wrote: > Hi > > dave@sina>clang --version > clang version 3.2 (tags/RELEASE_32/final) > Target: x86_64--netbsd > Thread model: posix > da

Re: libobjc2: clang not found?

2013-05-28 Thread David Chisnall
Hi, On 28 May 2013, at 04:47, David Wetzel wrote: > WARNING: It is strongly recommended that you compile with clang CMake will default to using whatever CC and CXX are set to. To explicitly configure the compiler to use, you can add -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ on t