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
0answers
6 views

Linker problems with TCL libtiff package

I've been banging my head against the wall for almost a week on this issue, so I thought I'd reach out for help. I am compiling TCL libtiff from source as part of a larger software package. Here is ...
1
vote
0answers
22 views

Gcc not installed and at the same time is updated to the latest version!

I'm trying to install one of the latest versions of gcc, but this is what I get: gcc -version The program 'gcc' is currently not installed. You can install it by typing: sudo apt-get install gcc ...
1
vote
1answer
25 views

Error make: *** [.obj/channel.o] Error 1

Can anybody help me? when i built project qsopcast-0.3.4 thequang@thequang-Inspiron-N4030:~/qsopcast-0.3.4/src$ qmake thequang@thequang-Inspiron-N4030:~/qsopcast-0.3.4/src$ make g++ -c -pipe -g -Wall ...
0
votes
0answers
20 views

Error message: ./configure CC=gcc CXX=g++

Can anyone please help me with this? I'm trying to install a bioinformatics tool called Trinity but this error message appears (below). What does it mean and how can I resolve it? Thanks! cd ...
0
votes
0answers
10 views

Undefined reference to XLib functions when linking

I am attempting to build an old project which requires XLib functions. However, I am getting the following linking errors (plus many more): //usr/local/lib/libgdk.so: undefined reference to ...
5
votes
2answers
1k views

Remove gcc from Ubuntu

I want to completely remove gcc from Ubuntu. I am using gcc 4.9 which happens to be the latest version. How can I remove it completely from my system?
1
vote
2answers
61 views

Can't compile on Ubuntu 14.04 with gcc 4.8

I installed build-essential in Ubuntu 14.04 and created a test file helloworld.c with: #include <stdio.h> int main(void) { printf("Hello world\n"); return 0; } The output of gcc -o hello ...
0
votes
0answers
14 views

Error in installation of MeTA (meta requires a compiler with at least C++0x support)

I followed procedure from https://meta-toolkit.org/setup-guide.html Steps==> sudo apt-get update sudo apt-get install software-properties-common add the ppa for cmake sudo add-apt-repository ...
0
votes
1answer
21 views

Will there be any problem to install two compilers on the same system?

I'm using Ubuntu 14.. Currently my gcc compiler is v5.1.. But now I need to use Matlab mex, which so far only supports gcc-4.7.*. Is it possible to install the gcc-4.7 compiler without reinstalling ...
0
votes
0answers
33 views

Unable to Upgrade the glibc in Ubuntu 12.04

I am unable to Upgrade the glibc in Ubuntu 12.04.While executing the below commands it doesn't upgrade the glibc version. apt-get clean apt-get update apt-get dist-upgrade Even I am pretty ...
1
vote
1answer
23 views

How to reconfigure libtool after upgrading gcc

I am running Ubuntu 12.04 and was hit by this gcc bug. In order to fix this I installed a more recent version of gcc (following this procedure). Now gcc -v and g++ -v both work, but packages that use ...
0
votes
0answers
13 views

Setup cross-compile env. in eclipse for Kernel API

I'm cross compiling for a beaglebone black (that is running debian) on ubuntu and I want to make Kernel API calls from module.h, kmod.h, or firmware.h and those don't appear to be in the ...
-1
votes
0answers
24 views

Install/Use Specific Subversion of GCC

I am using Ubuntu 14.04 LTS, and I have some code that is not compiling correctly using a newer version of gcc (4.8.4). I would like to install and use an older subversion (4.8.2) that worked. I have ...
0
votes
3answers
88 views

how to fix configure: error: C compiler cannot create executables

used ./configure DFLAGS="-03" and this is the config.log checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... ...
0
votes
0answers
11 views

open3: exec of /usr/bin/gcc -v failed at /usr/local/bin/gcc

short version: I have been trying to downgrade my gcc and g++ and now it says open3: exec of /usr/bin/gcc -v failed at /usr/local/bin/gcc" even with a simple version check. Or it says - not found ...
0
votes
1answer
24 views

Matlab mex lstdc++ not found

I'm trying to compile a mex file in matlab. I'm running Ubuntu 14.04 and Matlab R2014b. The first dependency issue I faced was the GCC which needed a version 4.7.x, while my system was running 4.8.x. ...
2
votes
1answer
170 views

gcc is gone probably after an update

gcc was installed in my system at the start, I still remember using it but after some time it was gone and replaced by some other versions of gcc. When I type in gcc from the terminal several ...
0
votes
0answers
42 views

Missing usr/include/c++/4.7/i868-linux-gnu

I am using ubuntu 12.04 with c++ 4.6. I installed c++ 4.7 but it missing folder i868-linux-gnu. Anyone know why? and how to get it?
0
votes
0answers
50 views

Compiling Thunderbird 38 on Ubuntu Mate (Raspi)

I'm using Ubuntu Mate 15.04 on a Pi 2. Most of the things work out really fine. But the Lightning Addon seems to be buggy (most of the buttons cannot be clicked). So I tried to compile a more recent ...
0
votes
1answer
110 views

VMware workstation is not working with GCC 5.1.1

Ubuntu 15.04 GCC 5.1.1 after installing ubuntu 15.04 vmware is no longer working with gcc 5.1.1 while trying to launch vmware workstation ... pic : ...
0
votes
0answers
71 views

Prefix and Path for Cross GCC in Eclipse

I'm pretty new in ubuntu and have a problem with it. I wanna to write a c++ program in eclipse and compile it with cross gcc. At the first i Added "CDT" from "help-->install new software" Now when ...
0
votes
1answer
33 views

Install GNU Toolchain on 15.04

I am following a tutorial which requires me to have the GNU toolchain installed - (gcc, ld, gas, etc). I know I can get gcc in build-essential. However, how do I get the rest?
0
votes
2answers
118 views

shall i need to install g++ to compile c++ files in Ubuntu 14.04.1

I am using Ubuntu 14.04.1 I want to know, Do I need to install g++ from the Ubuntu Software Center to compile the c++ files? Is GCC(GNU Compiler Collection) able to accomplish this instead? if the ...
1
vote
1answer
56 views

Use g++-4.8 with Qt

I am trying to compile a Qt project that uses the "override" keyword, and thus needs GCC 4.8. I have installed GCC 4.8 on my Ubuntu 12.04 machine already, and it lives in /usr/bin as gcc-4.8 and ...
0
votes
2answers
35 views

gcc fails to compile

I'm a newbee but adventuresome. I'm tri-booting Windows, Fedora, and Ubuntu 14.04 LTS (all 64). Learning but not using dpkg, apt, and apt-get. Starting to study C++ using Ubuntu (the only one with gcc ...
0
votes
0answers
69 views

vlc can't compile

OS: (Ubuntu 14.04 32bit) linux ubuntu 3.13.0-32 generic 2014 i686 NDK: android-ndk-r10e JDK: adt-bundle-linux-x86-20140702 32bit java-version : java version "1.7.0-79" OpenJDK runtime Environment ...
1
vote
1answer
81 views

Why am I getting this undefined reference error while trying to build a c++ project? [closed]

To fix another debug error, I added -std=c++11 to the build command. Now I'm getting a ton of "undefined reference errors like this one: In function encrypt(std::string&, int)': ...
1
vote
0answers
35 views

bug in ncurses.h? [closed]

I have been trying to compile a program I have written in C. I notice that there is an error in compiling saying: clock.c: In function ‘main’: clock.c:22:2: warning: passing argument 2 of ‘wgetnstr’ ...
0
votes
0answers
22 views

libgpg-error throws gcc fatal error

Attempting to install some GnuPG packages on Ubuntu 12.04 When attempting to install libgpg-error, I am getting a gcc fatal error. Here are the commands I am running (in the libgpg-error directory) ...
0
votes
1answer
58 views

Compile error, g++ and c++11 [closed]

Im trying to compile this code via g++, #include <iostream> #include <set> using namespace std; std::set<int> s; int main(){ for(int i=0;i<10;i++) s.insert(i); for(auto ...
0
votes
2answers
64 views

I screwed up my system no commands work at all

Command 'make' is available in '/usr/bin/make' The command could not be located because '/usr/bin' is not included in the PATH environment variable. make: command not found It happened after I did ...
0
votes
0answers
43 views

Make Error while building LDV for ubuntu 14.04

I am trying to build LDV project by following this.While running make console-tools , i am getting the following error. In file included from ../../aspectator/gcc/lto-streamer.h:27:0, ...
1
vote
0answers
37 views

Could not able to compile with /opt/ELDK42/usr/bin/ppc-linux-g++

here is my test.cpp #include<iostream> using namespace std; int main() { cout<<"hello world"; return 0; } $ /opt/ELDK42/usr/bin/ppc-linux-g++ test.cpp ...
1
vote
0answers
133 views

Python app crash after sending command “GPIO.setup( 7, GPIO.OUT)”?

Python app crash after sending command "GPIO.setup( 7, GPIO.OUT)" !!! Action step: pi@rp:~$ python3 Python 3.4.3 (default, Mar 26 2015, 23:09:09) [GCC 4.9.2] on linux Type "help", "copyright", ...
1
vote
2answers
48 views

PPA removed and purged but still showing available upgrades

This is on Ubuntu 14.04 (SERVER, so no GUI) Ok so earlier today I was asked to upgrade GCC to GCC 4.9 (current available is GCC 4.8 for Trusty). So following these directions I installed the PPA ...
0
votes
1answer
62 views

how to read gcc input from external file

I'm trying to read the input for a c++ file y.cpp from the file file.in and save the result in file.out but I can't figure how to do it. for example, if the following code was in y.cpp ...
0
votes
0answers
55 views

Error in Installation of Qt5.x 32 bit on Ubuntu 12.04 64 bit

I want to install Qt5.x on Ubuntu 12.04 64 bit. But while installation I faced the problem of libsm6 missing. I learned Ubuntu needs 32 bit libraries for functioning. I followed this link and tried to ...
0
votes
0answers
29 views

Unable to run cudaminer on jetson

After downloading and running ./autogen.sh and ./configure execution of the make command gives the following error on my Jetson TK1 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread ...
3
votes
1answer
32 views

Where should libraries be located for the development process?

With the SDL libraries for example, one would have to point to the headers at the beginning of their code, like so: #include <SDL/SDL.h> And, when compiling with GCC for example the library ...
4
votes
2answers
1k views

How to install g++ 5.1 on Ubuntu desktop 15.04 64-bit?

I'd like to experiment with the new GCC 5.1 C++ compiler on Ubuntu. So, I downloaded and installed Linux Ubuntu desktop 15.04 64-bit in a virtual machine. Then, in the terminal, I entered the ...
1
vote
1answer
90 views

Altough I installed GSL library, g++ cannot compile my code

In order to use gnu gsl library I've installed it with the following command : sudo apt-get install libgsl0ldbl When I write a simple c++ code just to check whether I installed it correctly or ...
3
votes
1answer
784 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
0answers
88 views

gcc 4.8.4 in Ubuntu 14.04 (LTS)?

Is it possible to get gcc 4.8.4 on Ubuntu 14.04? Ideally I'd just replace the system 4.8.2 with 4.8.4 rather than the hassle of having a two separate gcc toolchains. I'm curious as to why 14.04 is ...
0
votes
2answers
32 views

What is the extention of output files of gcc operation?

If I do gcc filename.c, I get a.out After performing gcc -o output_name filename.c we get the executable file output_name. What is the extension of this file?
-2
votes
2answers
43 views

Command to list only output files of gcc operation? [closed]

I have a directory with many c programs and some other files. After performing gcc -o output_name filename.c on c files i have respective output files in the same folder. What terminal command and ...
0
votes
0answers
46 views

Simple Scalar Ubuntu installation problem

I have followed all the instructions for simple scalar installation on ubuntu and in the stage where I run this command: make LANGUAGES="c c++" CFLAGS="-O" CC="gcc" I get this error: echo "__foo ...
1
vote
1answer
99 views

mps430-gcc .run file not doing any thing

I am using ubuntu 14.04 64 bit on virtualbox on Windows 8.1 64 bit host. I have to build some project and the project uses cmake system. I need to cross compile my project for Texas Instruments ...
0
votes
0answers
28 views

How to install gcc? [duplicate]

I tried to install gcc, but couldn't install because of dependency on gcc-4.4, which in turn depends on list of so many packages. gcc-4.4 : Depends: cpp-4.4 (= 4.4.3-4ubuntu5.1) but it is not going ...
2
votes
0answers
46 views

Esterel Compiling in Ubuntu 64 bit

The latest version of esterel is available only in 32 bit. Installed it in 64 bit ubuntu. When compiling esterl to C. I haven't get any errors. esterel -simul foo.strl cc -c foo.c While running: ...
1
vote
1answer
144 views

Cross compling Gstreamer for ARM

Hi i was trying to compile Gstreamer for ARM platform. I am facing some issues as followed i have set INSTALL_PATH installed glib at INSTALL_PATH ./configure --prefix=$INSTALL_PATH ...