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
21 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?

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
19 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
0answers
12 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
28 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
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 ...
1
vote
1answer
150 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
21 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
0answers
17 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
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
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 ...
0
votes
0answers
29 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
44 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
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
21 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
23 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???
0
votes
0answers
14 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
32 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 ...
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
36 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
386 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
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

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 ...
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: ...
1
vote
2answers
97 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
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: ...
-1
votes
1answer
92 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
48 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 ...
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.
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 ...
0
votes
1answer
154 views

TensorFlow: “crosstool_wrapper_driver_is_not_gcc failed: error executing command”

I use Ubuntu 15.10. Currently I am building TensorFlow from source, following the instructions here. My installation is successful, save for the last step, "Build your target with GPU support". When ...
0
votes
0answers
35 views

Opencv installations problems in Ubuntu 15.10

I have just updated my Ubuntu 14.04 to 15.10 n i had already installed Opencv-2.4.11. But after update its facing some problems to execute. Already tried to reinstall opencv. The errors are something ...
1
vote
1answer
129 views

Install gcc 4.9 on ubuntu 15.10

I need to install gcc 4.9 on ubuntu 15.10 because a library I really need (caffe and its cuda dependancies) requires such version or lower. I tried apt-get install gcc4.9 but it isn't working. Is ...
3
votes
1answer
1k views

How can I install and use gcc 6 on xenial?

I wish to test existing software with gcc 6, to ensure that it will work when the transition takes place. How can I install gcc 6? Is there a ppa available? Can I just do a "CC=gcc-6 make" ? ...
0
votes
1answer
249 views

Version `GFORTRAN_1.4` not found OPENBLAS

I'm trying to install OPENBLAS from git. I've cloned the directory and when I run make NO_AFFINITY=1 USE_OPENMP=1 I get this error make[1]: Entering directory `/home/sandesh/OpenBLAS/test' gfortran ...
0
votes
0answers
39 views

Im trying to compile glog-0.3.3 and dont succeed (running on ubuntu 14.04)

I'm trying to install caffe, but I can't compile glog. I'm doing the following steps: sudo apt-get install virtualbox sudo apt-get install vagrant vagrant box add ubuntu-14.04 ...
1
vote
0answers
36 views

Is libffi.pc broken on Ubuntu?

I'm trying to cross-compile wayland (from freedesktop.org) for a Trusty Tahr armhf environment. To set up the cross-compile I have an arm pkg-config script that properly sets PKG_CONFIG_LIBDIR and ...
0
votes
0answers
69 views

Undefined reference - fftw

I have a problem with compiling my code and I get the following error: /home/maxfkira/Demo/lib/libdemo.a(TracHold.o): In function 'exitTrac::extAL()': TracHold.cpp: (.text+0x1b): undefined reference ...
1
vote
1answer
88 views

Cannot find liboost-mt

I'm using the kinect to get 3D models of soil erosion and to scan vegetation and I'm trying to compile this application for the kinect: http://www.ccs.neu.edu/research/gpc/imucam/index.html ,however ...
1
vote
1answer
28 views

Building a GCC Cross Compiler

I'm trying to follow the Bare Bones tutorial on the OS Dev wiki but I'm confused on how to build the GCC cross compiler. It says to install the source code for stuff like bintuils, GCC, GNU GMP etc, ...
1
vote
0answers
40 views

Error while installing R's chron package

I am running R in ubuntu 14.04. Trying to install the package "chron" I get the following message: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector ...
0
votes
1answer
21 views

How do I know if GCC produced warning inside a shell script?

I am writing a gcc wrapper that will invoke gcc on my source file with the -Wall compile flag set. If there is no errors or warnings, it will execute the output binary. The exit status off gcc will ...