cpp10 and cpp7 installed; how to set default compiler?

Linux linux-yxjo 5.3.18-59.37-default #1 SMP Mon Nov 22 12:29:04 UTC 2021 (d10168e) x86_64 x86_64 x86_64 GNU/Linux

The compiler selected to build GNU Radio (GCC version 7.5.0 : /usr/bin/c++)
  is older than that officially supported (9.3.0 minimum).  This build may or
  not work.  We highly recommend using a more recent GCC version.

# Status             Package                        | Summary                                  | Installed (Available)     | 5

[Keep]               gcc-c++                        | The system GNU C++ Compiler              | 7-3.9.1                   |
[Keep]               gcc10-c++                      | The GNU C++ Compiler                     | 10.3.0+git1587-1.6.4      |   25.9 MiB
[Keep]               gcc7-c++                       | The GNU C++ Compiler                     | 7.5.0+r278197-4.30.1      |   23.9 MiB

I thought that deleting rev 7 would be the way to go but yast2 indicated a large number of files would be deleted. Best to check with the forum first.

You can have multiple versions of gcc compilers installed in leap 15.3, e.g., cpp 10, 9, 8, 7. They’re available through Yast software management and zypper. They coexist in /usb/bin/ as gcc-XX.

You can tell make or cmake for the gnuradio code what compiler to use with cmake -D settings for CMAKE_C_COMPILER=x.x.x and CMAKE_CXX_COMPILER=x.x.x Might take some trial and error. I wouldn’t delete default gcc/cppp. Install others. Looks like cpp-9 and cpp-10 might work for gnuradio.

Hope you can get your compilation done. You got me intrigued and I started looking at gnuradio. Might be fun to try. I might be trying to compile it myself.

tom kosvic


Thanks. That gave me something to google and I found lots of suggestions. The one above works. Of course there are other problems to solve.

You need one of these for gnuradio:
AliExpress or ebay. There is a reddit for rtlsdr

You may try ​"update-alternatives" to manuiplat multiple version of cpp insutalled on your system.

Check here

Not proper place to discuss gnuradio but if I was to go further, I would be concerned about antenna requirements. I am in assisted living facility with no ability to install any type of outdoor antenna. Can you receive anything interesting with simple indoor antenna or even wifi antenna.

This is not an opensuse topic, I know.

tom kosvic

Look for a PM.