Page 3 of 3

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

Posted: Fri Aug 09, 2019 4:00 am
by JayM
G++ 8.3.0-6 is in Buster's repo. Maybe it could be backported?

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

Posted: Fri Aug 09, 2019 3:20 pm
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

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

Posted: Fri Aug 09, 2019 3:28 pm
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.