Re: how to install gcc-6 in debian bullseye
On Mon, May 02, 2022 at 11:51:02PM +0300, Georgi Naplatanov wrote: > On 5/2/22 23:25, michaelmorgan...@gmail.com wrote: > > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > > compile a software and was hinted gcc version (10) is too high. I have > > old machine with gcc 6 and was able to compile it there. > > > > It seems that Debian 9 has gcc-6 so you can use Docker image with Debian 9. Alternatively, build in a chroot, using archives.debian.org as source (that's what I do; for convenience I use schroot, but am not really sure whether to keep it). The Debian Wiki [1] has a good starting point. Cheers [1] https://wiki.debian.org/chroot -- t signature.asc Description: PGP signature
Re: how to install gcc-6 in debian bullseye
On 5/2/22 23:25, michaelmorgan...@gmail.com wrote: > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > compile a software and was hinted gcc version (10) is too high. I have > old machine with gcc 6 and was able to compile it there. > It seems that Debian 9 has gcc-6 so you can use Docker image with Debian 9. HTH Kind regards Georgi
Re: how to install gcc-6 in debian bullseye
On Mon, May 02, 2022 at 03:25:20PM -0500, michaelmorgan...@gmail.com wrote: > Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need > compile a software and was hinted gcc version (10) is too high. I have > old machine with gcc 6 and was able to compile it there. Stop looking at packages. Download the source code for gcc 6, and build it as if it were a foreign program. Install it in /usr/local or /opt/something as if it were a foreign program. Or, fix the program you're trying to compile, because it's clearly full of bugs that older gcc simply wasn't catching.
how to install gcc-6 in debian bullseye
Can anyone kindly instruct me how to install gcc-6 in Debian 11? I need compile a software and was hinted gcc version (10) is too high. I have old machine with gcc 6 and was able to compile it there. Thank you very much. Michael