[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC 7



Thanks, Tomás, for your email.

I should have written before that I don't want the GCC 7 to be a system-wide compiler, along with libraries and some other dependencies. I need GCC 7 to compile my own code (C++17) that I run. I don't need to distribute the binaries.

Yes, GCC 7 is not in the backports, so it's not an option. There might be some Debian packages with GCC 7, but I worry about making a FrankenDebian, and the ensuing dependency and linking problems.

Thanks for pointing out pbuilder, I think I'll give it a try. I also might want to try virtual containers, but it seems like an overkill.

I might later drop an email to the debian-gcc mailing list.


Best,
Irek

On 13.06.2018 11:21, tomas@tuxteam.de wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 13, 2018 at 10:04:25AM +0200, Irek Szcześniak wrote:
Hi,

I need GCC 7 on my Debian Stretch.  Previously I upgraded my Stretch
to Testing (Buster), but I ran to some problems, and reinstalled the
system back to Stretch.

Could someone offer an advice on how to get a working GCC 7 on
Debian Stretch, without upgrading to Testing?

Backports would be a place to go. There seem to be others in your
situation:

https://lists.debian.org/debian-gcc/2018/04/msg00137.html

(but I haven't seen an answer to this request in that mailing
list).

Perhaps pinging debian-gcc list is a good idea.

Alternatively, if you just want to build for testing, some
pbuilder (chroot) setup might help, but then your program
might want to link to newer core libraries...

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlsg4hoACgkQBcgs9XrR2kZFiwCeLK2EU23uSBz2rpyW+rHLPfjz
Z8gAn1W7qif93Zdn1f49C4TW3Yex4NsZ
=qVRK
-----END PGP SIGNATURE-----



Reply to: