discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] VOLK configure error in OSX 10.8


From: Josh Blum
Subject: Re: [Discuss-gnuradio] VOLK configure error in OSX 10.8
Date: Mon, 06 Aug 2012 23:39:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0


On 08/06/2012 02:15 PM, Michael Dickens wrote:
> Looking at the CMakeCache.txt file, I don't see CMAKE_C_COMPILER_ID.  I do 
> see:
> 
> //CXX compiler.
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
> 
> //C compiler.
> CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
> 
> which result in:
> 
> % /usr/bin/c++ --version
> Apple clang version 4.0
> 
> % /usr/bin/gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
> (LLVM build 2336.11.00)
> 
> So, I think CMake is getting confused by the different compiler names.  
> "/usr/bin/g++" does indeed link to GCC, while "/usr/bin/cc" links to clang, 
> if that helps.
> 
> I also forgot to mention that this was using the latest GIT master for GNU 
> Radio, and UHD is installed and seems to work w/o modification. - MLD
> 

There should be a print out in the configure verbose, can you attach it?

set(COMPILER_NAME ${CMAKE_C_COMPILER_ID})
if(MSVC) #its not set otherwise
    set(COMPILER_NAME MSVC)
endif()

message(STATUS "Compiler name: ${COMPILER_NAME}")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]