discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: setting gcc compiler in pybombs


From: Aardric
Subject: Re: setting gcc compiler in pybombs
Date: Sat, 21 Aug 2021 21:52:26 +0000

Thanks! I also needed to set
sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-7 7
sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-8 8

for a successful build. I still have warnings "MPFR header version 4.0.1
differs from library version 4.0.2-p6" which I would like to understand
but at least I now have a running gnuradio 3.9 to work with.

Rick

On 2021-08-16 6:06 p.m., Ron Economos wrote:
> You can use update-alternatives to select the C/C++ compiler version.
>
> First, you set up each version.
>
> sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
> --slave /usr/bin/g++ g++ /usr/bin/g++-7
>
> sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8
> --slave /usr/bin/g++ g++ /usr/bin/g++-8
>
> Then you select which one is the system default.
>
> sudo update-alternatives --config gcc
>
> Ron
>
> On 8/16/21 3:17 PM, Aardric wrote:
>> Hail,
>>       What is the recommended method to set the gcc compiler used by
>> PyBOMBS  in building with gnuradio.lwr (gitbranch: maint-3.9)?
>> I am trying to trace back problems but first should use 8.2.1 (installed
>> as /usr/bin/gcc-8) as opposed to the system gcc which is 7.5.0.  I
>> assume that CMAKE_CXX_COMPILER_VERSION must be defined somewhere.
>>
>> Rick
>>
>>
>>
>>




reply via email to

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