Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 08:35:29AM -0700, Don Armstrong wrote: > On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > > Took out mk-sbuild for a whirl. What I didn't like at all: when you > > invoke a command and it goes out and starts installing packages fo

Re: GCC 7

2018-06-14 Thread Don Armstrong
On Thu, 14 Jun 2018, to...@tuxteam.de wrote: > Took out mk-sbuild for a whirl. What I didn't like at all: when you > invoke a command and it goes out and starts installing packages for > you (and doing other assorted sysadmin tasks). You can do everything that mk-sbuild does for you manually, but

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 01:06:27PM +0200, Irek Szcześniak wrote: > I tried schroot in a different way, as described here: > > https://wiki.debian.org/Schroot > > As part of the process, you install a complete, fresh Buster with: > > debootstrap bust

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
I tried schroot in a different way, as described here: https://wiki.debian.org/Schroot As part of the process, you install a complete, fresh Buster with: debootstrap buster /srv/chroot/buster So this solution is like a container. Best, Irek On 14.06.2018 12:47, to...@tuxteam.de wrote:

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 08:37:57AM -0700, Don Armstrong wrote: > On Wed, 13 Jun 2018, Irek Szcześniak wrote: > > 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 overki

Re: GCC 7

2018-06-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 14, 2018 at 10:44:59AM +0200, Irek Szcześniak wrote: > Tomás, thank you again for your email. > > I didn't finally try pbuilder, because compiling GCC solved my > problem. If something goes wrong, I'll use schroot. Thanks for > pointing o

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 12:06:21PM +0200, Irek Szcześniak wrote: 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 comp

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
Thank you, Don, for your advice! I tried schroot, and it's awesome! I followed the steps on: https://wiki.debian.org/Schroot I was able to build my code just as on Buster. The difference between schroot and chroot is that with schroot you have assess to the files outside the root directory

Re: GCC 7

2018-06-14 Thread Irek Szcześniak
dynamically links to the system libraries, and things are OK. Cool! Thanks again! Best, Irek On 13.06.2018 23:43, Georgi Naplatanov wrote: On 06/13/2018 11:04 AM, 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

Re: GCC 7

2018-06-13 Thread Georgi Naplatanov
On 06/13/2018 11:04 AM, 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 wo

Re: GCC 7

2018-06-13 Thread Don Armstrong
On Wed, 13 Jun 2018, Irek Szcześniak wrote: > 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. You might also try out schroot. Something like: apt-get install schroot ubuntu-dev-tools; mk-sbuild unstable;

Re: GCC 7

2018-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 13, 2018 at 12:06:21PM +0200, Irek Szcześniak wrote: > 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 >

Re: GCC 7

2018-06-13 Thread Irek Szcześniak
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

Re: GCC 7

2018-06-13 Thread tomas
-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

GCC 7

2018-06-13 Thread Irek Szcześniak
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? Thanks &