Questions regarding GNU Compiler Collection Suite.

learn more… | top users | synonyms

0
votes
0answers
3 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
2
votes
0answers
14 views

Does make sense using exotic bootstrap in GCC?

Has anyone any evidence that currently GCC is bootstrapped in non trivial ways to detect bugs for certain features and architectures? Or at least point to some documentation where I can find wich real ...
0
votes
0answers
13 views

Building gcc fails

I'm trying to build the gcc nightly but I'm having issues. (This happens each time I update the source, so it's not just a bleeding-edge bug.) I'm following the standard instructions, to wit: cd ...
0
votes
0answers
25 views

Trisquel 7.0 LTS Belenos 64 vs Ubuntu 15.04 64 or Mac OS X 10.10.5 : isl/gcc problem (libisl.so.13 incriminated)

I installed last 64bits trisquel distro recently, I build gcc 5.2.0 from source on it. I used exactly the same installation technique than the one I used (and that worked) on ubuntu 15.04 64bits, ...
1
vote
0answers
9 views

Kernel symbol gets .part suffix

When cross compiling the Linux kernel 3.18.10 the compiler adds a .part.<N> suffix at the end of some symbols (see an example below). The number <N> changes when using different ...
-1
votes
1answer
43 views

Squid cross compile

I've been trying to cross compile the Squid 3.5.7 on ARM Cortex A8 (Linux). I downloaded it from http://www.squid-cache.org/Versions/v3/3.5/ I have arm-linux-gnueabi-gcc and arm-linux-gnueabi-g++. ...
0
votes
1answer
22 views

Shared libraries for GCC installed via yum on Fedora 20

Unintentionally I erased my system gcc with a manually built one. To get things back, I did yum reinstall gcc and gcc --version attested that the initial version was back: $ which gcc /usr/bin/gcc $ ...
0
votes
1answer
17 views

musl-gcc not working

I have linux installed in armv6 android phone in chrooted environment. I have installed musl-libc from source for building static binary for android. Here are the commands, I ran for building & ...
0
votes
1answer
53 views

Arch: Compiling toplev.o fails in GCC install

I'm currently trying to install gcc41 using the AUR and I'm experiencing an issue. Everytime it goes through the compiling process the build fails because it cannot complete compilation of the toplev ...
0
votes
2answers
37 views

Compile mex files for spm12 in Matlab r2012a student version

in 2012 I bought a student version of Matlab (r2012a, 32bit) which I have now installed on my Ubuntu 14.04.2 LTS. This far, everything works. However, I would like to install SPM12 (a software used ...
0
votes
1answer
33 views

Recover system gcc on linux

I was trying to install manually gcc and forgot to specify --prefix=. So, after make install binaries were installed on standard paths (like /usr/bin/ or smth.) And now as I type gcc --version it ...
0
votes
1answer
62 views

i686-cm-linux-gcc: Command not found

While cross compiling OpenWRT, I have I have replaced OpenWRT's toolchain with toolchain i686 architecture. But, I am getting below mentioned error: make[5]: Leaving directory ...
0
votes
0answers
29 views

ffmpeg configuration error

I downloaded ffmpeg and followed the README. First thing, ffmpeg needs to be configured. But executing configure (./configure) says ~/Downloads/ffmpeg-2.7.2 $ ./configure gcc is unable to create an ...
0
votes
1answer
62 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
1
vote
1answer
52 views

How to compile shared library on AIX

I have a simple shared library that is currently compiled on Linux using: gcc -c -fPIC foo.c -o foo.o gcc -shared -o foo.so foo.o I need to relay instructions to a colleague for compiling the same ...
5
votes
2answers
533 views

C compiler cannot create executables

I'm trying to install wine on Linux Mint 17.1. I ./configure'd as root to install it. Input: cd Downloads/wine-1.6.2 ./configure Output: checking build system type... x86_64-unknown-linux-gnu ...
1
vote
1answer
66 views

Undefined reference to math functions when linking with gcc

I'm getting an error when using make to install a program. The full step that it fails on with error looks like this: gcc -g -O2 -fopenmp -L/usr/lib -lcfitsio -lm -o lenstool_tab e_nfwg.o ...
1
vote
2answers
96 views

“GLIBC” can not be used when I have installed the gcc 5.1.0

When I have installed the gcc 5.1.0, I found lots of my softwares can not be used, such as firefox, gnome, they will give me a tip of "GLIBC_2.1X not found". Now the version of GLIBC is higher than ...
0
votes
0answers
59 views

custom gcc install include files

I have a custom installation of g++ 4.8.1 in my home directory. However the include files in that installation have no extensions! (except for tgmath.h, fenv.h, complex.h, and cxxabi.h) Thus even if ...
1
vote
1answer
186 views

How to use afl-fuzz (American Fuzzy Lop) with openssl

I am trying to use afl-fuzz with openssl in Ubuntu. A normal usage of afl-fuzz would be: afl-gcc test.c //-- this will produce a.out mkdir testcases echo "Test case here." > testcases/case1 ...
3
votes
2answers
376 views

Why gcc show `unknown` in Target: x86_64-unknown-linux-gnu in Arch Linux?

I would like to know why when I run gcc -v under Arch Linux, it shows the unknown word in these outputs: Using built-in specs. COLLECT_GCC=gcc ...
0
votes
3answers
160 views

how can I build older version of gcc?

I am on Ubuntu 14.04.2 32 bit platform and I have gcc 4.8.4 installed. I want to build old version of gcc (2.95.3) to compile older version of linux kernel. I tried to follow this gcc-2.95.3 and this ...
0
votes
1answer
782 views

Cannot install gcc on CentOs 6.6

I cannot install gcc on centOs because it cannot find some files, this is the last part of the console when I execute the "yum install gcc*": --> Processing Dependency: binutils-hppa64-linux-gnu ...
0
votes
0answers
14 views

Automatic build errors resolving

Again I am compiling from scratch a big OSS project for custom embedded environment and receive a lot of errors like: warning: libXXX, needed by YYY, not found fatal error: XXX: No such file or ...
-1
votes
2answers
73 views

How to use pass filename without extension to gedit external tool for make?

I am wanting to build and run a program called dbgen using the external tools. I know that this variable holds the filename, ‍‍‍‍‍‍‍‍‍dbgen.c‍‍ : $GEDIT_CURRENT_DOCUMENT_NAME How do I remove the .c ...
2
votes
1answer
70 views

Why does Fedora not include GCC by default?

I just finished a Fedora 21 clean installation. I have updated and upgraded, but I notice the following: GNU GDB is installed by default, as GNU Make is. However, GCC is not. Is that supposed to ...
1
vote
2answers
161 views

Error compiling source code, possibly related to cpp

I am trying to compile some source code however when I enter the "make" command in the terminal it produces an error. From my limited understanding the problem seems to arise when the code attempts to ...
3
votes
1answer
133 views

Install gcc4.9 on openSuse 13.1

I need to download and install g++4.9 in order to work with regex in c++11 for a school project. I downloaded the source but it seems it does not work .. I searched for the rpm and 1-ClickInstall and ...
0
votes
0answers
188 views

How to fix: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

I need to install doctotext hence in the base directory, I run doctotext.sh and I got the following error (./doctotext: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found). When I did ...
0
votes
1answer
854 views

gcc installation on CentOS 6.6: configure issue

I'm trying to build/install gcc on CentOS6.6, following this instructions: http://qt-project.org/wiki/How-to-Install-Qt-5-and-Qwt-on-CentOS-6 After the auto-config err'ed out: [felix@localhost ...
0
votes
0answers
60 views

Installing gcc offline on a Debian based distro

I installed Kubuntu 14.10 and it doesn't come with gcc compiler. Since I currently don't have Internet access on my laptop, I got the offline version (a tar.gz file) from a friend but I don't know how ...
0
votes
0answers
82 views

GCC “__gmpn_invert_limb” compilation error

I'm currently trying to compile GCC 4.9.2 using GCC 4.2. The problem I have run into is that I have a working GMP installation (6.0.0a) but GCC fails to link to it after a while. The error I get is: ...
0
votes
0answers
20 views

Where to put files?

I downloaded a pre-built cross-compiler, and it had no Makefile, Readme, instructions, or anything. However, it came from a reputable resource, so its not malware or anything (it came from ...
0
votes
1answer
79 views

On which Linux based distribution is gcc not installed?

I've always thought that any Linux distro would include gcc (or at least a C compiler), but according to one of my teachers, this is not the case. Do you know any distro matching this case, and also, ...
-1
votes
1answer
32 views

How is the linking mechanism so fast in the kernel system calls? [closed]

If I open any file in Linux kernel almost every file has many extern functions and many #indef or #ifndef macros so while compiling how exactly does it map all the functions and macros when more than ...
1
vote
1answer
121 views

How to influence which compiler is chosen by build systems like CMake

I'm on Archx64 with bspwm as WM. I have both gcc and clang installed and updated to latest versions. I want build systems to ask me everytime to choose either g++ or clang ++ to compile. I need ...
0
votes
1answer
46 views

GCC warning when compiling Orange

When I try to install Orange (http://orange.biolab.si/download/) on ubuntu, I get these messages: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC \ ...
0
votes
0answers
294 views

Unable to install anything using apt

I was trying to install an earlier gcc and g++ (4.6.3) for compatibility reasons and now apt seems to be broken. It appears that apt-get install behaves like this for everything, not just dpkg: ...
1
vote
0answers
86 views

How to change CFLAGS for autogen.sh

I am relatively new to linux. I was trying to rebuild MDM display manager for linux mint from url https://github.com/linuxmint/mdm. In the documentation it is said that you should use ./autogen.sh ...
0
votes
2answers
69 views

How do I tell GCC and Clang to look at /usr/local/cuda for include/libs?

I have installed CUDA on my system, but seems like its files are not being found by libraries that depend on it. What should I append to my .bashrc in order for both GCC and Clang to look on the ...
0
votes
1answer
55 views

Error Installing Single Assignment C (SAC)

I followed the instructions to download and install SAC, however, upon executing the "make fast" command I receive the following error: maxx@ubuntu:~/sac2c-1.00-beta-linux-x86_64/stdlib$ make fast ...
0
votes
0answers
41 views

Is it possible create a ssh jail with gcc and g++ access? 14.04 Ubunutu

I would like to share server access with my computer science cohort and I wanted to know if its possible to create a ssh jail with gcc g++ access. What are best practices and how might you create ...
0
votes
1answer
1k views

Cabal error: Cannot run c compiled programs

I have an old version of cabal-install so I downloaded cabal-install 1.20 and When installing it errors out. Additional note: ghc 7.8.3 OS: CentOS 6.6 Error: Building network-2.4.2.3... ....... ...
0
votes
1answer
73 views

Compiler for Linux kernel

Can Linux kernel be compiled with gcc configured for Linux executables (not bare metal)? I have noticed that Buildroot builds cross-compiler arm-linux-gnueabi to compile everything and became curious. ...
1
vote
2answers
462 views

Why apache binaries built with gcc 64-bits are mixed 32 and 64 bits?

On Solaris 10 I built gcc 4.9.0 for 64 bit. At least I thought I did. I'm building an Apache based stack, and other prerequisite tools. If I build apache file shows a 64bit httpd: file ...
8
votes
2answers
187 views

Why is this Python package trying to use a non-existent gcc?

I'm trying to install PyCrypto for Python 3 on Solaris. Whether I do it via "python3 setup.py install" or "pip3 install pycrypto", I run into the same problem: a call is made to a gcc which does not ...
1
vote
1answer
80 views

Common library for all linux distributions

I want to develop a C++ library that can be used on multiple Linux distributions like RHEL, Suse, Ubuntu etc... If I compile my source code into a .so (shared library) on one Linux environment(say ...
1
vote
0answers
248 views

How can I install gcc-4.2 g++-4.2 on Linux Mint 17 with gcc-4.8 already installed?

I need an older version of gcc (specifically 4.2) alongside current gcc (4.8) on Linux Mint 17. Default Mint repositories can't find needed package: sudo aptitude install gcc-4.2 No candidate version ...
0
votes
1answer
561 views

C compiler cannot create executables whilst creating backport in Debian

I am trying to create a gcc-defaults-1.133 backport for my Debian Wheezy installation from Sid/Jessie. As this requires dpkg-dev greater than version 1.17.11 I assume I need a backport of this too. ...
0
votes
0answers
65 views

default llvm toolchain issue on Mac

Recently I have been using Mac 10.10; but I find that the compilation toolchain is a bit odd to me. It's known to us that on recent Mac OS versions the default gcc is a faked one that is based on ...