QB64 Phoenix Edition
QB64-PE v3.14.0 is now available - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: Announcements (https://qb64phoenix.com/forum/forumdisplay.php?fid=18)
+--- Thread: QB64-PE v3.14.0 is now available (/showthread.php?tid=2918)

Pages: 1 2 3


RE: QB64-PE v3.14.0 is now available - Jack - 08-13-2024

Quote: Can I simply remove the old one using apt?
I think that it should be possible but it could also be tedious and complicated, what about binutils and perhaps libraries tied to gcc-7.5.0
it might be as simple as sudo apt purge gcc-7.5.0 but who knows ?
I am interested to know how it goes


RE: QB64-PE v3.14.0 is now available - Kernelpanic - 08-13-2024

Mint will probably work the same way as Debian, Mint is an offshoot of it.

I can only say that for SuSE. The old version has to be deleted using Yast, as it is probably still listed first in the system. For SuSE users: I only have WSL2, and there is only the command line Yast, the graphical Yast is basically no different. - The installation is done with Zypper - I only have a slightly older example here:

Quote:18:13 17.08.2022
Das ist nur das Repo für Suse 12.1 - nicht der GCC
zypper addrepo https://download.opensuse.org/repositories/openSUSE:12.1/standard/openSUSE:12.1.repo
zypper refresh
zypper install gcc
If configured correctly, the repositories are updated when you start.

[Image: 2024-08-12-225717.jpg]

The old junk is still there, but it has been deleted out the system.

[Image: GCC-7-32024-08-12-230144.jpg]

The complete GCC is installed

[Image: GCC-13-2024-08-12-230247.jpg]

[Image: GCC-Version2024-08-13.jpg]


RE: QB64-PE v3.14.0 is now available - Cybermonkey342 - 08-13-2024

Now that is crazy. I just learned, that there are multiple versions of GCC installed in openSUSE Leap 15.6.
Here from my terminal:
Quote:cybermonkey@localhost:~> gcc --version
gcc (SUSE Linux) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cybermonkey@localhost:~> gcc-10 --version
gcc-10 (SUSE Linux) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cybermonkey@localhost:~> gcc-13 --version
gcc-13 (SUSE Linux) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Now the only question is, how do I tell Linux that it should use gcc-13 instead of gcc?


RE: QB64-PE v3.14.0 is now available - hsiangch_ong - 08-13-2024

you should try instead:

Code: (Select All)
$ g++ --version
or it could be called gcc-g++.

you want the latest version of it. it might have to be arranged through an alias.

otherwise you should stick to linux mint. no sense getting headaches about this.


RE: QB64-PE v3.14.0 is now available - Cybermonkey342 - 08-13-2024

Yes there is also a g++-13 available...


RE: QB64-PE v3.14.0 is now available - Kernelpanic - 08-13-2024

Quote:Now the only question is, how do I tell Linux that it should use gcc-13 instead of gcc?
As I already wrote, delete 7 & 10 via Yast. Then it will be deleted correctly without problems.

Exactly: 7 & 10 are not deleted from the repositories, they are only uninstalled in the installed system. That's why you can still see them in Yast. - It's just a SuSI, women are just complicated!  Tongue


RE: QB64-PE v3.14.0 is now available - Jack - 08-13-2024

I think that deleting the older gcc/g++ may not be ideal, instead use a symlink https://stackoverflow.com/questions/448457/how-to-use-multiple-versions-of-gcc
https://linuxconfig.org/how-to-switch-between-multiple-gcc-and-g-compiler-versions-on-ubuntu-22-04-lts-jammy-jellyfish
the links may be talking about different distros but the suggestions put forth should help


RE: QB64-PE v3.14.0 is now available - Kernelpanic - 08-13-2024

Jack, with Yast that is absolutely correct.

I wrote it, Yast cleanly deletes unnecessary software. If you try to delete something in Yast that the system needs, you get a warning message. So you basically have to want to ruin the system by force.

If you don't believe me, install SuSE and test Yast.