[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: Re: setting gcc compiler in pybombs
From: Aardric <aardric () aardvarr ! ca>
Date: 2021-08-21 21:52:26
Message-ID: 3679b23b-46e0-2242-bbfe-d53a8d85e7e3 () aardvarr ! ca
[Download RAW message or body]
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
>>
>>
>>
>>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic