Install g++ for specific version of Debian

1.7k Views Asked by At

I've gotten a place of equipment from a supplier and it uses an old version of Debian Linux - I would like to install g++ on it so I can compile locally a program I'm using on other platforms (I understand the process of cross-compiling is complex and difficult).

However, I don't what apt-get to update any components on the device as there are hardware specific drivers/applications that have been provided by the manufacturer. How can I tell apt-get to install whatever version of g++ is already compatible with the OS?

Thanks for your help.

Edit: I should add, the platform has a MIPS processor, which I don't see in the -arch options. Thanks for the help so far though.

Also, for the possibly of cross-compiling, I'm going from a Ubuntu laptop to the MIPS debian system.

1

There are 1 best solutions below

0
On

check it may work

apt-get install gcc g++ gfortran