[Top][All Lists]

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

Re: [Discuss-gnuradio] macports build failure

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] macports build failure
Date: Wed, 14 Aug 2013 19:27:50 -0400

Hi Dan - On 10.8, here is what I generally use:

sudo port install gnuradio +full configure.compiler=llvm-gcc-4.2

If you are on 10.7, I think that will still work.  On 10.6, I think you set the 
compiler to just "gcc-4.2" but it's been a while.  For a full list of compiler 
options, see < http://guide.macports.org > and search for "configure.compiler".

GNU Radio will not compile when using MacPorts' GCC because the assembler does 
not understand the xgetbv instruction.  I think this issue is on the queue for 
"sooner or later"; I'll check into it.  I'd love to be able to compile GNU 
Radio using MacPorts' GCC 4.8 instead of being forced to use Apple's compilers. 

On Aug 14, 2013, at 3:27 PM, Dan Aldrich <address@hidden> wrote:

> I just submitted a report on trying to build gnu radio using macports. Is 
> pyBomb the preferred way to build it now?
> Using the default compiler I got:
> WARNING: GNU Radio's VOLK component (which handles vector optimized 
> instructions and routines) compiles best when using GCC.  The selected 
> compiler is CLANG, which will result in a fully functioning GNU Radio install 
> but the VOLK component will not utilize the CPU's capabilities.
> So, tried to build with command:  sudo port install gnuradio 
> configure.compiler=macports-gcc-4.7
> and that error'ed as well.

reply via email to

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