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: Ron Economos
Subject: Re: setting gcc compiler in pybombs
Date: Mon, 16 Aug 2021 18:15:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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]