The GNU Compiler Collection is the standard compiler system used on many Unix-like operating systems, including Linux. Originally meant for compiling C programs, it can now also handle C++, Java and several other languages.

learn more… | top users | synonyms

-1
votes
2answers
28 views

How to install gcc 4.1.2 on Ubuntu 16.04 ?

How can I install the old version of gcc (gcc-4.1.2) on Ubuntu? ( without Synaptic ) .My actual version of gcc is gcc-4.4.7
0
votes
1answer
61 views

How do I install gcc 6 (latest 6.1?) on Ubuntu 14.04 LTS, make c++14 the default and will my libraries work? [duplicate]

How do I install gcc 6 (latest 6.1?) on Ubuntu 14.04 LTS, make c++14 the default and will my libraries work? Also, what problems can I expect if any? Lastly, please walk me through this because i am ...
1
vote
1answer
24 views

Dependency issue: gcc-4.9-base being kept back

I'm unable to upgrade my system because of broken packages. I've been unable to solve this problem for some months now, and frankly, I'm on the verge of doing a complete reinstall of ubuntu. This ...
0
votes
1answer
9k views

when building u-boot /bin/bash: arm-none-linux-gnueabi-gcc: command not found

I am currently running Ubuntu 12.0.4 on a 64 bit machine. I have an AM335X development board. Along with the kit came the compressed kernel (linux 3,2), rootfs, u-boot, and ARM cross compiler ...
0
votes
0answers
16 views

Vmware Workstation 12 Install Problem

Having a tough time here. I have installed kernel 4.6 for my machine and using gcc 6.1.1 - so vmware workstation 12 installs fine but will not run. Does not find compatible gcc version 5.3.1 So ...
1
vote
0answers
22 views

'make' error - glib.h no such file or directory on Raspberry Pi

I am trying to compile an Example but I am getting following errors/issues. I am not sure where the config file and make file is for this package and I don't want to make changes that wipe out ...
3
votes
1answer
5k views

CXXABI_1.3.8 not found

So, I'm trying to run heroes of newerth and get the error ./hon-x86_64: /home/c0ding/HoN/libs-x86_64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ...
0
votes
1answer
16 views

“bash: ./cents: no such file exist or directory” while trying to run a program that has already been compiled

Can someone explain to me why this happens? It compiles the program fine but it wont let me run it. I'm on ubuntu 16.04 Bonus question: How can I run the math library on Geany? I love the interface ...
0
votes
0answers
29 views

too many errors while executing dpkg --configure -a

I am not an expert in Ubuntu. I use Ubuntu for my work purposes only. I was trying to upgrade my Ubuntu from 15.04 to 15.10 and while doing lots of dpkg error occurred. Then I restarted the computer ...
1
vote
1answer
158 views

Upgrading GCC from 4.8 to 4.9

I am trying to install the TrinityCore on my server. When upgrading the GCC to use CMake I ran into a problem: Here is the response I got: gcc-4.9 is already the newest version. 0 upgraded, 0 newly ...
1
vote
1answer
24 views

How to add qt qmake version 4.8 to qt creator?

I have Qt creator 5.4.1.I have qmake 5.4.1 but I wan to add qmake 4.8 for desktop version.How could I do? I install gcc4.8,but I don't know Is qmake install?(if it installed so where was it?) ...
1
vote
4answers
14k views

How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work

*emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found ...
0
votes
2answers
23 views

How do I install a specific lower minor version of gcc using package manager?

I am running an Ubuntu 14.04-4 64bit. gcc --version returns (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4 Yet, I need version 4.8.2-10. What I tried: I found the specific gcc version in a debian snapshot ...
0
votes
0answers
67 views

gcc did not create cxxmain.c in steps of installing simplescalar

i am trying to install simplescalar on ubuntu. i do all the steps of installing it correctly but in the last step (installing gcc compiler) i face to a problem. make LANGUAGES="c c++" CFLAGS="-O" ...
0
votes
0answers
6 views

How can I install a subversion of gcc using a .deb file

Actually I have gcc version 4.8.4-2ubuntu1~14.04.3 installed on my PC. Now I need to install gcc version 4.8.2-10ubuntu1 instead. Everytime I try to install the other version, the compilation ...
1
vote
0answers
49 views

Hash Sum mismatch for cpp/gcc in ubuntu 16.04 LTS

I was trying to install cpp/gcc package in Ubuntu 16.04 LTS but getting error code - "Hash Sum mismatch" So far I have used different archive like - archive.ubuntu.com, us.archive.ubuntu.com and ...
0
votes
0answers
31 views

Can't install package: dependends on gcc-4.8-base 14.04.01

I'm trying to install all the dependencies to run ASP.Net Core applications on a linux system. I basically have no experience with linux or the linux platform. I found a tutorial explaining the ...
0
votes
0answers
23 views

Nvidia/Cuda driver for kernel 4.4 (Ubuntu 14.04)

I'm having trouble getting cuda and nvidia to work with the 4.4 kernel in Ubuntu 14.04. What cuda version can actually be installed? When trying cuda 7.5, it complains about the nvidia driver. When ...
1
vote
0answers
23 views

“evilmake all” not working…please help

I am trying to insatll idlutilis, When I am doing : $ evilmake all i get error: nrutil.h:45:12: warning: ‘iminarg1’ defined but not used [-Wunused-variable] static int iminarg1,iminarg2; ...
3
votes
2answers
5k views

unable to install gcc-multilib after upgrading to 14.04

I recently upgraded from 12.04 to 14.04. After upgrading things started to break. I am getting crt1.o: No such file: No such file or directory. So, I tried to install gcc-multilib, but, that is also ...
0
votes
1answer
24 views

How do I install gcc from Kubuntu USB [duplicate]

My laptop has a slightly obscure wifi card and I can't install a driver from the driver management or the USB, and I don't have ethernet. Instead, I found a driver online and it worked on a Live USB ...
0
votes
1answer
27 views

How should I handle ABI incompatability between gcc-4.9 and gcc-5?

I have recently upgraded my dev machine to Ubuntu 16.04 (fresh install, wiped 14.04) The default version of gcc is gcc-5.3.1. A problem that I have is a vendor supplied library is only built using ...
-1
votes
0answers
28 views

Ubuntu gcc version downgrade [duplicate]

How to downgrade gcc version??? I want to downgrade gcc version from 5.2.1 to 3.2 on ubuntu???
4
votes
1answer
4k views

collect2: error: ld returned 1 exit status

I want to install nexalign (can be downloaded from here) on ubuntu 13.10. I previously installed it on ubuntu 10 without any problem. The error I got is: gcc -O9 -Wall -Dthread -lpthread main.o ...
0
votes
3answers
4k views

cmath: No such file or directory #include <cmath>

I downloaded and try to installed the package "wfconvert" from this link http://qmcpack.cmscc.org/tutorials/bulk-solid. but I got some error. here what I did: copy the wfconvert folder in root "/" ...
0
votes
0answers
15 views

Installing gcc 4.3 on ubuntu 15.10

I want gcc 4.3 for my application and I'm using ubuntu 15.10 for same I have removed my current version of gcc i.e. 5.2 now I'm trying to install gcc-4.3, its showing this error: Package gcc-4.3 is ...
0
votes
1answer
33 views

How to connect via ssh and use gcc on target?

I would like to do two things automatically within a bash script: Connect via ssh to my target. Execute gcc. My script looks like this: ( echo "cd myfolder" echo "gcc -o mybin ...
0
votes
0answers
28 views

I happen to destroy WIFI driver when upgrading gcc-4.8 to gcc-5.3

I am working on Ubuntu 14.04.03 Trusty Tahr. As we know, the default GCC package version for this release is 4.8.2, but recently I upgraded it to GCC 5.3 (the latest version) following this answer: ...
0
votes
0answers
13 views

including libarry paths in GCC

This is how I write commands to compile my mruby-c code: $ gcc -Imruby-mruby-ea03352/include main.c /home/mruby/Documents/mruby-mruby-ea03352/build/host/lib/libmruby.a -lm -o main.out Actually ...
0
votes
1answer
37 views

std::thread run time error “Enable multithreading to use std::thread: Operation not permitted”

I am trying to port a program that was running without any problem when the environment set up was Ubuntu 12.0 QTCreator Version - 2.4.1 QT - 4.8.0 gcc - 4.6.3 to a new environment Ubuntu 14.04 ...
15
votes
4answers
55k views

GLIBCXX_3.4.20 not found, how to fix this error?

Whey I try to run the program Layout Editor (available on this site) on Ubuntu 14.04.1 64-bit LTS I get the following output in the terminal: $ layout layout: ...
1
vote
2answers
98 views

Unable to install build-essential, held broken packages

So I was trying to set up my computer for development. I installed ubuntu 14.04 LTS. I wanted to write a hello-world-program. However I can not compile it. After some searching, I tried sudo apt-get ...
0
votes
2answers
34 views

gcc doesn't do anything when trying to compile a code [duplicate]

I'm new using Ubuntu OS, I've Ubuntu 12.04 and I'm trying to run a simple Hello world C program #include <stdio.h> int main(){ printf("Hello world!"); return 0; } When using gcc --version ...
0
votes
0answers
43 views

../libtool: line 1158: g++: command not found

I have problems during the make gcc 5.3.0. I use gcc 4.8 on Xubuntu 14.04 LTS. gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see ...
0
votes
0answers
37 views

compiling gcc-g++ 4.6.0 alongside gcc 5.2.1 on ubuntu 15.10 amd64

I'm trying to compile gcc 4.6.0 alongside gcc 5.2.1 on Ubuntu 15.10, with OS 64bit. I followed the instructions here and here. For the source I use gcc-4.6.0.tar.bz2. I installed all prerequisites and ...
0
votes
0answers
54 views

I was trying to install fast downward planner in 64-bit ubuntu-14.04 but its telling me gcc is broken .I have reinstalled gcc but it did not work out

Building configuration release32 -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/gcc -- Check for working C ...
0
votes
0answers
410 views

Installing GCC 6.0 in Ubuntu Linux 14.04 LTS

I want the latest version of GCC, namely the GCC 6.0, for running a software. The linux version installed is 14.04 LTS. Every time I am trying to upgrade the GCC version I am ending up installing the ...
0
votes
1answer
18 views

How to recompile Ubuntu Toolchain?

Where I can find environment description and build options that you use on build servers for Ubuntu Toolchain 4.1/4.7/4.9/etc? Regards.
0
votes
2answers
27 views

Problem to compile python and C++ code using ubuntu Ubuntu 12.04.5 LTS: problem with gcc

I am trying to compile a code involving python and C++ in Ubuntu 12.04.5 LTS and I have this type of error hammouc@kw13921:~/Documents/mimclib$ make python setup.py clean running clean removing ...
0
votes
1answer
28 views

Compiling GCC compiler…shows error

So I started to setup for AVR programing and I found this nice tutorial to guide me. I am on step 3 of the tutorial. When I type the command: make CC="cc --no-cpp-precomp" I get this error: make: ...
0
votes
1answer
28 views

GCC won't compile to an executable file

I was able to reproduce this issue with a simple case (shown below). The problem in particular is that the output of compiling my main C file is a file with format data (returned by running file on ...
1
vote
1answer
205 views

Building AppRTCDemo failed in LINK md5sum_bin_host

I have done all instructions to build AppRTCDemo on Ubuntu 15.10 in this link http://webrtc.org/native-code/android/ and when I'm trying this command "ninja -C out/Debug AppRTCDemo" i get this result ...
2
votes
3answers
400 views

Compiling Mame 0.170 on Ubuntu 15.10

when trying to compile mame 0.170 I get the following error: m1xalis@m1xalis-HP-Compaq-6830s:~$ cd .mame m1xalis@m1xalis-HP-Compaq-6830s:~/.mame$ make GCC 5.2.1 detected Compiling ...
0
votes
0answers
16 views

Unable to fetch some archives?

404 Not Found [IP: x] Failed: command not found root@vps:~# Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.11.0-12.19_amd64.deb 404 Not Found [IP: x] Failed: ...
1
vote
1answer
22 views

G++ ubuntu packaging question

dpkg -s g++ Package: g++ Status: install ok installed Priority: optional Section: devel Installed-Size: 16 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: ...
13
votes
1answer
36k views

How to install clang++?

I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found error. I've run sudo apt-get install llvm, and also sudo apt-get install ...
-1
votes
1answer
94 views

Error compiling AODV-UU (modversions.h: No such file)

i have to compile aodv routing protokol, but i get error like this make -C /home/andri/Downloads/aodv-uu-0.9.6/lnx KERNEL_DIR=/lib/modules/3.13.0-24-generic/build KCC=gcc XDEFS=-DDEBUG make[1]: ...
1
vote
1answer
50 views

Problem in cross compiling linux kernel 4.4.2 for ARM in ubuntu

I followed the below procedure in compiling the linux 4.4.2 kernel and gcc verion is gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ravi@ravi-Inspiron-3537:~/linux$ make ARCH=arm ...
1
vote
1answer
57 views

Can not build libdwarf

I download the most updated libdwarf version in archive file. Extract the files and run the following command cd dwarf-2013-02-07/libdwarf ./configure --enable-shared make I got the following ...
0
votes
0answers
131 views

How to install GCC-4.4.5 compiler in Ubuntu 12.04 64-bit?

I am using ubuntu 12.04 64-bit on VMwareFusion. Three packages have already installed: gmp5.0, mpc0.8.2, mpfr3.1.4, in gcc-4.4.5 and I followed the following steps. $ sudo ./configure ...