Ubuntu: How can i downgrade GCC 4.7.2?



Question:

i want to downgrade GCC and G++ 4.7.2 to some older versions, 4.0 perhaps. Any assistance? I'm using Lubuntu ATM.


Solution:1

You can install 4.4, 4.6, 4.7

sudo apt-get install gcc-4.  gcc-4.4                               gcc-4.6-plugin-dev                    gcc-4.7-locales  gcc-4.4-base                          gcc-4.6-source                        gcc-4.7-multilib  gcc-4.4-doc                           gcc-4.7                               gcc-4.7-multilib-arm-linux-gnueabi  gcc-4.4-locales                       gcc-4.7-aarch64-linux-gnu             gcc-4.7-multilib-arm-linux-gnueabihf  gcc-4.4-multilib                      gcc-4.7-aarch64-linux-gnu-base        gcc-4.7- multilib-powerpc-linux-gnu  gcc-4.4-source                        gcc-4.7-arm-linux-gnueabi             gcc-4.7-plugin-dev  gcc-4.6                               gcc-4.7-arm-linux-gnueabi-base        gcc-4.7-powerpc-linux-gnu  gcc-4.6-base                          gcc-4.7-arm-linux-gnueabihf           gcc-4.7-powerpc-linux-gnu-base  gcc-4.6-doc                           gcc-4.7-arm-linux-gnueabihf-base      gcc-4.7-source  gcc-4.6-locales                       gcc-4.7-base                            gcc-4.6-multilib                      gcc-4.7-doc                             

You need to install base package for example

  sudo apt-get install gcc-4.4-base  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »