Re: how to install gcc-6 in debian bullseye
On Mon, May 02, 2022 at 03:25:20PM -0500, michaelmorgan937@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.
Reply to: