Request: gcc & g++ 8 in MX18

For developer discussion on package requests
Message
Author
User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Request: gcc & g++ 8 in MX18

#21 Post by JayM »

G++ 8.3.0-6 is in Buster's repo. Maybe it could be backported?
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Stevo
Developer
Posts: 12841
Joined: Fri Dec 15, 2006 8:07 pm

Re: Request: gcc & g++ 8 in MX18

#22 Post by Stevo »

gcc-7 and Buster's gcc-8 was backported to our experimental repo a few months ago, and in fact I successfully used it to backport telegram-desktop 1.7.0 to MX 17/18 a couple days ago. I made a few announcements, but never got any answer: http://mxrepo.com/mx/experimental/pool/test/g/gcc-8/

You have to export the compiler versions in the environment to use it instead of Stretch's default gcc-6:

Code: Select all

export CC=gcc-8
export CXX=g++-8
export CPP=cpp-8
export LD=gcc-8

(if required)
export ASM=gcc-8

User avatar
Stevo
Developer
Posts: 12841
Joined: Fri Dec 15, 2006 8:07 pm

Re: Request: gcc & g++ 8 in MX18

#23 Post by Stevo »

You can enable the experimental repo by adding this line to /etc/apt/sources.list.d/mx.list:

Code: Select all


deb http://mxrepo.com/mx/experimental/ stretch test \
Using Featherpad to do so:

Code: Select all

sudo fpad /etc/apt/sources.list.d/mx.list
Then updating in MX updater or on the command line:

Code: Select all

sudo apt-get update
gcc-8, g++-8, and cpp-8 can now be installed.

Post Reply

Return to “Package Requests / Status”