GNU Compiler Collection, a family of compilers for various languages from the GNU Project. Questions about gcc should be limited to installation and basic usage/configuration.

learn more… | top users | synonyms

0
votes
0answers
13 views

Vendor toolchain

I'm happy owner of asus O!Play HDP-R1 device. It has open source toolchain. I want to know if it was modified in some way to support features of their device, or is it just an old version of gcc ...
0
votes
0answers
72 views

Install GCC / G++ Version 4.9 in Linux Mint

I always like to have the latest version of things, particularly if that thing is gcc, g++ and there has recently been a revision to the c++ standard. I have forgotten what ppa's I need to add to my ...
0
votes
1answer
406 views

Making Google Chrome 35 work on CentOS 6.5

I am trying to install Google Chrome 35 on my CentOS 6.5 . After googleing for few hours I found that Google has decided not to support EL 6 release anymore. Due to which I get following error. ...
-1
votes
0answers
27 views

Build GCC while building LFS

I am currently trying to build lfs for the first time. I have passed compilation of the binutils and now i am experiencing difficulties with gcc. My goal is gcc-4.9.0. According to doc i am using ...
0
votes
0answers
7 views

Slackware ./configure error

I'm new to slackware. i'm trying to install freetds on my slackware 14.0 but i get this error when i run ./configure config.log say: gcc: error: unrecognized command line option '-V' gcc : fatal ...
0
votes
1answer
112 views

Error compiling gcc on Raspberry Pi

So, after solving the problems I had before (previous question here), I'm having some other trouble compiling gcc 2.95.3 on my Raspberry. This is what I get with the make bootstrap command. ...
0
votes
1answer
49 views

Error compiling gcc on Raspberry Pi (Raspbian): make: *** [bootstrap] error

I'm trying to compile the gcc version 2.95.3 on raspbian, I need it in order to compile the 2.6 kernel. I'm following this tutorial, but when I get to the bootstrapping step, i get make[1]: Entering ...
0
votes
1answer
79 views

Downgrade GCC to older versions with apt-get

For specific reasons, I have to downgrade my GCC to version 2.x using apt-get (not downloading and compiling the source). Is that possible? If yes, how can I find the repository address and install ...
0
votes
0answers
84 views

Upgraded to Mavericks, C compiler cannot create executables

Upgrading to Mavericks, I appear to have broken my Ruby on Rails development environment, which requires ruby 1.9.3 because of various gem dependencies. Within that app directory, I'm trying to ...
-1
votes
4answers
65 views

Do different compilers produce different machine code file formats for Windows? [closed]

Under Windows, if someone compiled a C++ source code with gcc, would the output file formats and extensions be different from other C++ compilers? And are the output files extensions and formats of ...
0
votes
1answer
17 views

Invalid macro expansion argument character

I am attempting to compile pooler-cpuminer and when running make I get this error: sha2-arm.S:190:invalid macro expansion argument character (+) Any help? I've looked and haven't found a solution ...
1
vote
0answers
31 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
0
votes
0answers
33 views

gcc fails with “No available targets” on Mac OS 10.9.2

When I try to install pycrypto or psychopg2 on my macbook, I get this error: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -std=c99 ...
0
votes
0answers
26 views

unable to compile php on ubuntu

I'm trying to compile an older version of PHP (5.2) on Ubuntu 13.04 and am having some difficulty. Here's what I tried (from my home directory): sudo apt-get install php-pear wget ...
0
votes
0answers
63 views

install latest gcc on rhel 6 x86_64

I have an RHEL 6 server with gcc version 4.4.7. I wanted to update the gcc version (I think the current one is 4.8). Yum update doesn't work. Also, SO answers for a similar question on CentOS does not ...
0
votes
0answers
67 views

gcc 4.8 on MacOS fails depending on -arch order

I am trying to get a recent version of gcc 4.8.2 up on my machine. I have tried installs that come from MacPorts as well as the one that gets installed alongside the binary install of gfortran. For ...
1
vote
0answers
77 views

gcc --as-needed linker flag not working

I have two computers with Gentoo, both on AMD64. I try to build a following program: int main() {tgetent();} The command to compile is: gcc -v 1.c -Wl,--as-needed -lncurses On one computer it ...
0
votes
2answers
90 views

Using gcc (>= 4.8) with OBS (OpenSUSE Build Service)

I am currently using the OpenSUSE Build Service (https://build.opensuse.org/) to build ArangoDB. However, for some newer C++ features I need a fairly current C++ compiler. For some of the older ...
0
votes
0answers
77 views

Running exe generated with GCC using cygwin without admin rights

So this awesome company that I work for has a picky IT department that doesn't allow developers to have admin rights. What is the best way to go about running a .exe generated from Cygwin GCC without ...
0
votes
0answers
52 views

Why is gcc --version giving this error message?

When I run gcc --version on my Mac OSX Mavericks with Xcode v5.1 installed it sends to stderr the following error output: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr ...
1
vote
1answer
60 views

How to install gcc 4.4.7 on Mountain Lion

I need to install a specific version of the GNU GCC compiler, gcc 4.4.7, on my macbook, but I'm not sure how to do this. Most places I've found install later versions but I need to install that ...
0
votes
0answers
75 views

How do I install GCJ on OSX

I've looked at the gcj page and though there's downloads links they're only for downloading gcc, and with the apple version of gcc there is no gcj included: $ gcc --version Configured with: ...
0
votes
0answers
93 views

Error installing HandBrake on Amazon AMI Linux

When I tried to compile Hand Brake, I get the following error: checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/g++ accepts -g... no checking dependency style of ...
0
votes
1answer
139 views

linker error: could not read symbols: Invalid operation

I am trying to compile GMediaRender on Ubuntu 12.04. I got an error during make: gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -L/usr/lib -o gmediarender ...
0
votes
0answers
43 views

Slow mac when compiling and running jobs in terminal

I am having numerous problems with the newest Macbook Pro 13 inch (16GB RAM i7 13inch Retina display) when compiling programs in the terminal. Every time I start a process, whether it is compiling a ...
0
votes
1answer
42 views

Compiling Opensmmpbox in Cygwin for windows service

Need a opensmppbox as a windows service so i try to compile it under cygwin...get this error: /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lwap ...
0
votes
2answers
222 views

Unable to install TI Linux emulator on Linux Mint 16 KDE

I have Linux Mint 16 KDE, and I wanted to install the Texas Instruments Emulator from http://lpg.ticalc.org/prj_tilem/download.html. I downloaded and extracted the source code, and installed all the ...
0
votes
0answers
86 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 ...
0
votes
1answer
451 views

Use scons with gcc 4.7 on CentOS 6

I followed the instructions at Install gcc 4.7 on CentOS for installing gcc 4.7.2 under /opt/centos/devtoolset-1.1/root/. Now I'd like to build a project which is configured to use scons. I did the ...
0
votes
0answers
105 views

gcc: error trying to exec 'as': execvp: Too many levels of symbolic links

I have an Problem with archs gcc (Got by pacman). When I want to compile a file, Like the following, every time this happends: gcc: error trying to exec 'as': execvp: Too many levels of symbolic links ...
1
vote
2answers
126 views

Error while loading shared libraries - libwebsock

Im trying to setup libwebsock, simple C websocket library. I followed the installation procedure from INSTALL file, everything went fine. Im able to compile test program given in the examples. But ...
0
votes
1answer
286 views

gcc-4.8.2 make command error

our server has "gcc-4.4.7-3.el6.x86_64" I was trying to upgrade to "gcc-4.8.2" from source. configure completed without errors make command has reported following errors in config.log file : ...
0
votes
0answers
115 views

Garry's Mod - GLIBCXX_3.4.14 Missing, etc

This is what happens to my Gmod server whenever I start it up. I've tried yum install glib and gcc, etc. and nothing has worked. Anybody know how to get this stuff. I've even tried yum whatprovides ...
1
vote
0answers
183 views

Uninstall gcc from source

For fun, I compiled and installed gcc 4.7.2 in ~/build, which contains bin, doc, lib, include, man, share, et al. directories, all of which are added to the appropriate environment variables. Now I ...
0
votes
1answer
88 views

What does dynamic vs static linking

When it is said that in dynamic linking the linker resolves the addresses of shared libraries at run time, does that mean the same linker that is used in static linker is called at run time? For ...
2
votes
1answer
606 views

Gentoo LDFLAGS optimizations really needed?

I'm using Gentoo Linux. Here is my toolchain: sys-kernel/linux-headers-3.9 sys-devel/binutils-2.23.1 USE="cxx nls zlib -multislot -multitarget -static-libs {-test} -vanilla" ...
0
votes
1answer
71 views

Cant compile SDL source file with gcc

i downloaded a manual of introduction to graphics programming with SDL, so i tried to compile my first source and it logged the next error the command to compile it was: $ gcc helloWorld.c [-o ...
0
votes
1answer
1k views

update gcc /g++ on Cent Os 5.9

I would like to update gcc/g++ on my Cent Os 5.9. The version I have is 4.1.2 : Would it be possible to update it to 4.4.7 like Cent Os 6.4 WITHOUT updating the entire operating system? It looks to ...
0
votes
1answer
406 views

GLIBCXX 3.4.14 missing for Garry's Mod on CentOS

When installing Garry's Mod via Steam on my CentOS server I get the following errors: -- ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" ...
0
votes
0answers
118 views

Segmentation fault with glibc

I tried to install Chromium browser on Salix 13.37 Fluxbox, I got an error that said it requires newer versions of libstdc++.so.6 and libc.so.6, so I download and compile gcc and glibc, as I still get ...
1
vote
2answers
236 views

Change GCC version on Mac OSX Lion

I'm currently running GCC 4.2. I would like to switch to a more recent version. I have Homebrew and I have MacPorts for package management. I've followed several tutorials today for installing a ...
0
votes
2answers
1k views

gcc not finding header file though its path has been included with -I

I'm trying to install a module (Package::Stash::XS) via cpanm, but the installation is failing due to a gcc error. The command gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing ...
0
votes
0answers
139 views

Installation of QEMU and GCC for emulation of ARM processor - RHEL

I am trying to install the QEMU to emulate the ARM processor and run assembly programs. As part of the emulation in RHEL systems, I need to install the following. QEMU Emulator GCC for ARM GDB ...
0
votes
0answers
151 views

Cannot compile Python Image Library on cygwin

I'm on cygwin 32bits and I'm trying to build PIL but when I run: >>> python setup.py install gcc exits with the following error message: _imaging.c:75:20: fatal error: Python.h: No such ...
1
vote
2answers
412 views

Building GCC and Binutils on Windows 7 x64

I am trying to build GCC following the instructions in: Building GCC. At the moment I am building binutils but getting the error: * BFD does not support target x86_64-unknown-cygwin. Look in ...
1
vote
2answers
119 views

Configure Makefile

I am trying to create a file Makefile to use with make so I can compile my codes faster. What I would like to do is just type in the terminal: make dev myOutputName And it should run: gcc -Wall ...
1
vote
2answers
1k views

RHEL Desktop: How to install g++?

I would like to install the gcc-c++ package on RHEL 6. When I search for it with yum, I get No matches found. Searching for it on the web, it seems that I need the workstation sub-channel. However, I ...
0
votes
1answer
44 views

When was gcc last updated in my system?

Is it possible to know the last update date of gcc in Centos? If yes, how can it be checked? The problem is that one my applications, which used to run before in gcc, is not running in gcc.
1
vote
1answer
1k views

Installing a GCC/G++ for my mac OSX 10.8

My problem is simple, I would like to get the OSX/BSD version of the GCC and G++ compilers from the GNU.org website. However after some research (as described below) I learned that Apple uses LLVM ...
0
votes
0answers
147 views

gcc won't compile. Compile Error : Bus Error

I use fedora 17 and from last two days gcc has started behaving weird. Whenever I try to compile a file whether its a *.c or *.cpp it gives following result: $ gcc -c c.c cc1: internal ...