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

0
votes
1answer
17 views

Makefile problem

I was trying to make make command for a code in the remote computer.I found there is a problem and refuse to complete compiling. I need to get the logic of thinking on how to know the problem and ...
-1
votes
0answers
31 views

I need GCC compiler student - free copy [closed]

I am a second year Engineering student. I would like to have GCC Compiler.I have heard that you'll provide the same to students free of cost. Please, guide me about the procedure.
1
vote
0answers
36 views

How do I find what library was compiled with lto 4.0 instead of 4.1?

All of a sudden I've been getting the following error (something probably updated my gcc or something): lto1: fatal error: bytecode stream generated with LTO version 4.0 instead of the expected 4.1 ...
0
votes
1answer
25 views

Error in installation of gcc-4.6 and gcc++-4.6 in ubuntu 16.04

I am getting following error in installing the older version of gcc(which I require unfortunately)
0
votes
0answers
24 views

Cuda7.5 problem while building open-cv2

I'm trying to install open-cv2 on ubuntu 16.04, but make command gets a conflict with cuda 7.5 which is not compatible with gcc versions later than 4.9. But, even if I update alternatives, it's the ...
0
votes
0answers
34 views

collect2: fatal error: cannot find 'ld' compilation terminated

When I try to run c and C++program I am getting collect2: fatal error: cannot find 'ld' compilation terminated. I have already install GCC and G++ latest version. Any buddy please help.
1
vote
1answer
22 views

How to restore '/usr/lib/gcc/*'

On Ubuntu 16.04, I accidentally deleted my /usr/lib/gcc dir. I tried to reinstall gcc but the dir won't be created again. How do I restore. ~$ dpkg -S /usr/lib/gcc gcc-5-base:amd64, libgcc-5-dev:...
5
votes
3answers
804 views

“fatal error: openssl/opensslv.h: No such file or directory” compiling mitmproxy

I'm trying to install the mitmproxy package via pip like this: $ sudo pip install mitmproxy It terminates with following error message: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -...
0
votes
1answer
28 views

Help with GCC compile in C89 [closed]

I have to compile code in C89 for class, I wrote this code to see if it would compile. I compile it using, gcc -std=c89 -pedantic #include<stdio.h> int main(void) { int number; ...
0
votes
1answer
39 views

make dmrshark error : sqrtf@@GLIBC2.0 undefined reference

I want to make dmrshark from https://github.com/nonoo/dmrshark ,but when I make that, it gives an error while making it. Can anybody help me? Error message: make[2]: Leaving directory `/home/m/sdr/...
1
vote
1answer
30 views

Where can I get the development packages for rsync?

I would like to check the code for RSync but I don't see the development files, maybe I only need GCC and Make ?
1
vote
1answer
48 views

compile can't find GL lib

bjorn@bjorn-031:~/samples/SOP$ gcc -lGL /usr/bin/ld: cannot find -lGL I've installed libglu1-mesa-dev and rebooted. I'm using Nvidia drivers. This output look strange to me though: ldconfig -v .....
1
vote
1answer
25 views

Where to find core dumps from gcc and g++ compiled code?

I compiled some C code, once with gcc, and then with g++, so I got two output executable files. When executing both files I found that it told me: Segmentation fault (core dumped) But there is no ...
-1
votes
0answers
20 views

install mrtg-2.17.4 ploblem?

I'm install mrtg-2.17.4 on Ubuntu 14.04 follow http://oss.oetiker.ch/mrtg/doc/mrtg.en.html ,but can't install how should i do ,help? Thanks. ~/Downloads/mrtg-2.17.4$ ./configure --with-gd=/...
0
votes
1answer
33 views

Gcc 5.3.1 vs ANSI C re: Variable names and $ [closed]

I have read online and in print (the ANSI C book by Kochan) that one cannot use the dollar sign $ in a variable name when programming in C. Yet, when I created the following code to test variable ...
0
votes
1answer
50 views

Installing 3rd party C library. Several errors I've had before whose fixes aren't the solution this time

I am attempting to use a third-party C library. Once I'm in the directory for the unpacked file I run ./configure and get: configure: creating ./config.status config.status: creating tests/Makefile ...
1
vote
1answer
61 views

How update GCC 4.8.4 -> 4.9

Idk why, i cant update my gcc root@server:~# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: .....
1
vote
1answer
196 views

How to install gcc-4.4 on Ubuntu 16.04 [duplicate]

I'm gonna compile Rodinia benchmark on Gem5-gpu simulator, when I make it complains for gcc-4.4 and give me following error: make gem5-fusion make -f Makefile.gem5-fusion make[1]: Entering directory '...
1
vote
1answer
174 views

Ubuntu 16.04, gcc 4.9, CUDA 7.5.18, includes gcc5 headers

I'm running on a Ubuntu 16.04 where I installed gcc4.9 and NVIDA drivers from official repositories, configured alternatives for gcc, and installed the CUDA toolkit 7.5.18. When I try to compile a ...
-1
votes
2answers
64 views

What is the meaning of gcc command

I wonder what does the command gcc -o sample sample.c really means and what it does in the system. I know gcc is the command to invoke gcc compiler, but what does -o and filename(without extension) ...
1
vote
0answers
36 views

Can't figure out Cmake [closed]

I don't have much experience with Cmake and setting environment variables/paramaters, mainly because I've never needed to, things usually compile themselves. I'm trying to install heimdall. And i'm ...
3
votes
1answer
54 views

Compiling a 32 application on 64 bit, without getting rid of GNU EABI for ARM

I want to build a C++ program for 32 bit on my 64 bit 16.04. /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping ...
0
votes
1answer
51 views

How to install gcc4.4.7 in the ubuntu15.10?

I had try to install gcc4.4 and g++4.4 but will print out "E: Package 'gcc-4.4' has no installation candidate E: Package 'g++-4.4' has no installation candidate" in the ubuntu15.10?
0
votes
2answers
64 views

How to force gcc & ld (make wholly) use less memory?

I have to compile a computer generated source with my sources which is too huge and I've no control over it. Since my memory is not much, I've to force make use less memory. Otherwise, it gets killed ...
1
vote
0answers
43 views

Ubuntu 12.04 LTS - Upgrade to a specific version of previously available GCC version

I've added the ppa:ubuntu-toolchain-r/test repo for getting the latest GCC-5 version but I had the unfortunate surprise that the available version for 12.04 LTS changed a few days ago from 5.3 to 5.4. ...
0
votes
1answer
169 views

gcc-5: internal compiler error: Bus error (program as)

I'm trying to install Python 2.7.11 on my Ubuntu 14.04 LTS vServer (hosted at strato), because it's a requirement for letsencrypt. I'm using this tutorial, basically just replacing 2.7.9 with 2.7.11. ...
4
votes
2answers
403 views

How can i Update gcc 5.3 to 6.1? [duplicate]

After installing Ubuntu 16.04 LTS, I found that gcc 5.3 installed by default but I don't receive any updates to gcc. I opened up GCC website and I found the new release 6.1. How do I update? Output ...
0
votes
1answer
221 views

Unable to install or upgrade after an upgrade to 16.04 with gcc-doc error [duplicate]

I'm kind of new to Ubuntu. A couple of days ago, I upgraded to 16.04 from 14.04. After the upgrade, I can neither install new software nor upgrade OS. When I enter sudo apt-get upgrade I get this ...
0
votes
0answers
56 views

Error on compile CyanogenMod

I need help. After running make mrproper I can't build CM source in Ubuntu 14.04. It's throwing this error: build/core/tasks/kernel.mk:149: *********************************************************...
0
votes
0answers
16 views

problem during execution multi2sim simulator

I have installed multi2sim-5.0 simulator on ubuntu 14.04 for project work. When I execute "hello world" program, display it, but when use this command m2s --x86-debug-syscalls stdout hello gives error ...
-1
votes
1answer
40 views

Error in execution of multi2sim simulator [closed]

cust@cust:~$ cd ~/Desktop/multi2sim-5.0 cust@cust:~/Desktop/multi2sim-5.0$ g++ matx.cpp -o matx cust@cust:~/Desktop/multi2sim-5.0$ ./matx Enter the order of matrix (must be n*n) 1 * 1 ...
-1
votes
2answers
1k 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
3
votes
1answer
1k 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
70 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
199 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 ...
0
votes
0answers
39 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 ...
0
votes
1answer
18 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 ...
1
vote
1answer
312 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
33 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?) root@...
1
vote
0answers
72 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 ...
0
votes
2answers
66 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
20 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 ...
0
votes
0answers
71 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 ...
1
vote
0answers
61 views

Hash Sum mismatch for cpp/gcc in ubuntu 16.04 LTS [duplicate]

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 bd....
0
votes
0answers
47 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
32 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; ...
0
votes
1answer
35 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
57 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 ...
0
votes
0answers
27 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
44 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 ...