0
votes
0answers
56 views

Trouble installing gcc-4.0 in Ubuntu 11.10

I have gcc-4.6.1 installed in my Ubuntu 11.10 system. For compiling some other software I require gcc-4.0. I download the gcc-4.0.0 tar file and extracted it. I created a new folder and ran the ...
1
vote
1answer
155 views

downgrade gcc/g++ after upgrading; compiler error

I just upgraded gcc/g++ from 4.4 to 4.8 (via this method How can I update gcc to the latest version in Ubuntu 10.04?). I realized that 4.8 is going to break a lot of my code and now I want to roll ...
3
votes
2answers
972 views

gcc running out of memory in Ubuntu 12.10

I'm trying to compile my C project in Ubuntu (32bit) running in VirtualBox. Compiling the code in question requires quite a bit of memory, at least 3 gig. So I gave the VM 2 gig. Along with 2 gig of ...
0
votes
0answers
253 views

Ubuntu, updated boost from 1.46 to 1.52, linker asks for 1.46

I was having some trouble compiling with a piece of software using boost (wt, http://www.webtoolkit.eu/wt). I knew (from testing with another machine) that updating from 1.46 would solve my problem. I ...
0
votes
1answer
304 views

Linux From Scratch, glibc Make error

I am following the LFS guide 7.2 and I am at section 5.7. When executing the Glibc make, I receive the following error. -o /mnt/lfs/sources/glibc-build/math/s_isnan.os -MD -MP -MF ...
2
votes
1answer
562 views

Add a permanent compiler option to g++

I am using a g++ 4.7 on Ubuntu 12.04 to compile my c++ code, and it won't be compiled unless an -std=gnu++11 option is added to my command like this: g++ -std=gnu++11 main.cpp Is there a way to add ...
0
votes
1answer
160 views

Unable to install software on Ubuntu 8.04

I have recently installed 8.04 Ubuntu onto an industrial board and applied the vendor kernel modifications to it. I need to develop applications on another desktop to run on this board in C++ but I am ...
2
votes
1answer
4k views

How to install gcc-3.4 on Ubuntu 11.10

I need gcc-3.4 to compile some softwares on my Ubuntu 11.10 (32-bit). So I downloaded: cpp-3.4_3.4.6-6ubuntu5_i386.deb gcc-3.4-base_3.4.6-6ubuntu5_i386.deb gcc-3.4_3.4.6-6ubuntu5_i386.deb and ...
2
votes
1answer
242 views

Which package should I download to compile C++0x code

OS is Ubuntu 10.04. I need to compile some C++ code with -std=c++0x flag. But compiling doesn't work because I need 4.6.1 version. Now, when I go to Gnu's ftp, I see two different packages: ...
26
votes
3answers
49k views

How can I update gcc to the latest version in Ubuntu 10.04?

I have Ubuntu 10.04 32-bit with gcc 4.4.3 currently installed on it. I want to upgrade it to gcc 4.6.1. How to update using Ubuntu Package Manager: apt-get upgrade/install As a second option I ...
0
votes
1answer
799 views

How do I find the installation path of binutils, gcc-3.4.4.tar.gz in Ubuntu?

I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For ...
0
votes
1answer
602 views

undefined reference to `glib_major_version'

Can you please tell me how can I resolve this 'undefined reference' error when linking on Ubuntu 10.10 conftest.c:(.text+0x4): undefined reference to `glib_major_version' ...
2
votes
3answers
5k views

How to build g++ 4.5.2 on Ubuntu 10.04

My gcc compiler is a bit outdated - gcc 4.3, so I want to build a new gcc from source since I ran apt-get update, but there were no pre-built version available yet. Has anyone experienced this process ...