Erik_JE Posted May 1, 2012 Share Posted May 1, 2012 So for various reasons I need to get gcc 4.1.2 running in Ubuntu 11.10 but I am failing miserably. I tried installing old deb files but it caused dependency hell. I tried compiling it from source which have worked fine in earlier Ubuntu versions but is now failing as well. It appears to be because of the switch to multiarch that happened in 11.10. For this I found a patch http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01649.html that I was told should work but after patching source I still have loads of compile errors I can not get rid of. The patch also had problems finding some files which is I guess because its for a more recent version of gcc so I doubt how well it actually worked. In conclusion. Have anyone managed to compile gcc on Ubuntu 11.10+ ? Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted May 2, 2012 Share Posted May 2, 2012 Maybe use a virtual machine with an older distribution? Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted May 2, 2012 Author Share Posted May 2, 2012 Maybe use a virtual machine with an older distribution? Guess I will have to do that until someone smarter than me figures this out. At the moment tho it seems to work compiling with gcc 4.6.1 but I am pretty sure I will soon run into some nice linker errors caused by it as I usually do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.