Questions regarding GNU Compiler Collection Suite.

learn more… | top users | synonyms

3
votes
0answers
102 views

Using a NFS for gcc, Apache, PHP, MySQL, glibc

I have 7 SLES VM. I am compiling always the newest version of gcc and all dependencies. Apache and all dependencies. PHP and all dependencies. MySQL and all dependencies. glibc and all dependencies. ...
3
votes
0answers
943 views

-fstack-protector-strong not supported by compiler gcc 4.8.3

On Fedora 20, I need to install a linux driver for a particular PCI express serial port card which is given by the manufaturer. In order to do this, I have to compile the source code of the driver. ...
3
votes
0answers
874 views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
2
votes
0answers
385 views

Installing GCC on SLES 12

I'm having trouble installing gcc on a new SLES 12 box. The goal here is actually to get R Shiny running, but when I try to install any packages I get the below error: sudo su - -c "R -e ...
2
votes
0answers
244 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
2
votes
0answers
68 views

What is the effect of ACLs/umask on the permissions of the executable file generated by gcc?

I have been wondering how gcc determines the resulting file permissions of the executable file being generated. To gain some insight, I considered a minimalistic program test.c #include ...
2
votes
0answers
42 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 ...
2
votes
0answers
74 views

GCC configure error

When I'm trying to install GCC for SLED 11 SP3, the terminal show me this error: configure: error: cannot compute suffix of object files: cannot compile. Before to intall GCC, I installed the GMP ...
2
votes
0answers
683 views

sudo apt-get install g++-4.8-multilib not working on Mint?

I've got the latest version of Linux Mint 16 (64 bit) and in Netbeans I am compiling a project in 32 bit mode. I get the error that I am missing bits/config.h. I think this is because I am in 32-bit ...
2
votes
0answers
2k views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX ...
2
votes
0answers
55 views

GNU toolchains against GCC SVN?

Is there anything like CodeSourcery which provides prebuilt binaries for arm toolchains built against gcc-svn. http://elinux.org/Toolchains#Prebuilt_toolchains Otherwise, a working instruction for ...
1
vote
0answers
15 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
1
vote
0answers
61 views

Some commands are no longer responding?

I have a Debian based distribution & lately a problem has been encountered when trying to execute the gcc or man command's (And probably other commands I haven't found yet). When I type them in ...
1
vote
0answers
33 views

Build errors on a copied operating system in a chroot

I'm in a bit of an interesting situation. In an attempt to have root access on my school's physics network computers, I ended up creating a chroot environment, using fakeroot and fakechroot. As every ...
1
vote
0answers
437 views

Need Help Cross Compiling Openssl for MIPS

I've been trying to cross compile Ncat for the MIPS architecture (big endian), and I really need SSL support, so I first must compile OpenSSL. I downloaded the latest version from Github and ...
1
vote
0answers
47 views

Remove package with yum but leave libraries in place?

During setup on a specific set of servers, I need gcc-c++ installed to compile some of the software I am setting up. After install is complete I need to remove the compiler for security reasons. ...
1
vote
0answers
163 views

Error building and compiling GCC 5.2.0 from scratch on Vortex86DX

In order to upgrade a VortexDX86 custom linux with a gcc 3.2.3 compiler, I´m trying to built the GCC 5.2.0 compiler to support the latest C++ 11 standard. I have downloaded its source code from ...
1
vote
0answers
100 views

How do I change the version of GCC that I'm using? Why does GCC still seem to work despite bash telling me the gcc command was not found?

I was trying to follow this tutorial for an introduction to bare metal programming in C on a raspberry pi. One of the first things it recommends is to install the gcc 4.7 toolchain instead of what I ...
1
vote
0answers
172 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 ...
1
vote
0answers
446 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 ...
1
vote
0answers
6k views

Getting “cannot open shared object file: No such file or directory” error while run time

I have successfully compiled the file but now I am getting following errors export LD_LIBRARY_PATH=/opt/mcr/v717/sys/java/jre/glnxa64/jre/lib/amd64/server/:D_LIBRARY_PATH ./invoke ./invoke: error ...
1
vote
0answers
608 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
1
vote
0answers
383 views

Install gcc into x86_64-linux-gnu

I'm trying to compile and install gcc-4.9.0 on my Debian system, and in particular I want the new version to overwrite an old version of libstdc++.so.6 in /usr/lib/x86_64-linux-gnu that came as ...
1
vote
0answers
161 views

how to install gcc4.8 in netbsd 6.1.3?

I did a "make install" for lang/gcc48 in pkgsrc. It did built ok. However, when I do gcc --versions, the default gcc 4.5.3 is displayed. What steps do I need to do after the build?
1
vote
0answers
688 views

Problem with configure - cannot find -lgcc_s

I want install Argos 0.5 to Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux. I had to install gcc 3.4 because Argos call for it. Now I have gcc 3.4 and gcc 4.8.2-2 too. Problem is that ./configure ...
1
vote
0answers
126 views

Stanford's StanfordCPPLib on Linux

I'm using SUSE Linux 13.1 and self studying Stanford's CS 106B course. Here I have found the following zip file, cs106b-hw2-ngrams-starter-files.zip, and downloaded. Now questions This libs are for ...
1
vote
0answers
319 views

How to install gcc 4-8 on #! Waldorf 64-bit?

I would like to install and use g++ 4-8 compiler. It supports various C++11 features, and I am willing to look into them and use them. Also, as I came here from Windows, my previous files also used ...
1
vote
0answers
143 views

ices-cc (libvorbis) linking fails on Ubuntu 13.04 - lgcc_s not found

I'm trying to compile compile ices-cc into a set of static files on Ubuntu Server 13.04. I use the automatic Centova's build-ices.sh script and use the following command: ./buildices.sh ...
1
vote
0answers
524 views

Error cross compiling linux kernel using buildroot

I am trying to build a kernel bt in cross compiling the kernel when I ran following command make CROSS_COMPILE=i686-linux- ARCH=x86 I got the following error: UCLIB_EXTRA_CFLAGS="" \ ...
0
votes
0answers
28 views

Installing g++ on Oracle Linux Server 7.1 without internet

I have a laptop running Oracle Linux Server 7.1. Trying to make a C++ file and receiving the error: make[1]: g++: Command not Found I assume I need to install g++. I've gone through a number of rpm ...
0
votes
0answers
24 views

Build location-independent GCC binaries

I have some problems with GCC. I want a portable version of GCC because the PC I use for programming cannot be connected to Internet due to some driver issues. So, I read an article on how to compile ...
0
votes
0answers
55 views

Cross compilation of gcc on ARM

I am getting the following error during cross compilation of gcc on ARM: TLS -o _udivsi3.o -MT _udivsi3.o -MD -MP -MF _udivsi3.dep -DL_udivsi3 -xassembler-with-cpp \ -c ...
0
votes
0answers
14 views

gcc profiling - gmon.out contains partial data

Out app is built using libtool (2.4.2), that in turn is using both g++ and gcc (4.8.4). OS is Ubuntu 14.04. All source files are compiled using -pg and the link command includes the -pg flag as well. ...
0
votes
0answers
89 views

Prune yum of stale installed packages/duplicate gcc packages after manual install

I'm in a weird situation, and maybe I've messed something up and just need to hit the reset button and re-install CentOS. Off a fresh install of CentOS7.1 the other day, I noticed the latest version ...
0
votes
0answers
47 views

Missing library in ia32-libs when compiling with gcc-3.4.6 in 32 bit mode

I installed gcc-3.4 on Ubuntu 14.04 and tried to run a program with the -m32 flag. #gcc --v gcc version 3.4.6 (Debian 3.4.6-5) When trying to run the program I receive the following error ...
0
votes
0answers
111 views

Custom GCC installation - how should I set my environment variables?

After some pains I was finally able to build me a gcc 4.9.3 (I don't have root on the machine I'm working on, and Fedora 22 doesn't package gcc 4.9 anyway). And it even works, i.e. using it to compile ...
0
votes
0answers
115 views

profiling cannot open gcda file

I am compiling file UT_test.c and linking my file using gcc on cygwin environment using flags -fprofile-arcs -ftest-coverage. The objects and gcno are created at location ...
0
votes
0answers
112 views

GCC: library linked several times can cause “multiple definition” errors?

I have a toolchain generated through Buildroot with which I am trying to compile something statically but the build fails with gcc saying something about "multiple definition". Now looking at the ...
0
votes
0answers
34 views

How to use edk2 with gcc 5.1.1

I need to use all of edk2 (on fedora23), so I tried to build gcc 4.4.7 but the instructions didn't work. Is it possible to use gcc 5.1.1? If so, what do I set the TOOL_CHAIN_TAG as in conf/target.txt? ...
0
votes
0answers
31 views

build application with another toolchain rather than the original one

The original tool chain of my computer is x86_64-redhat-linux, but I need to build application that can be used in another different file system. (It means I release the application to other people ...
0
votes
0answers
93 views

Yocto; install python ctypes. “No acceptable c compiler found in $path”

I am trying to install the python module 'ctypes' on a new mediabox (Ezeecube), but it seems there is no c compiler. The system runs on a custom Yocto build, created by the Ezeecube team. It has the ...
0
votes
0answers
53 views

Configure script failed to find C compiler, despite gcc being installed on Sabayon

I have been trying to compile Moksha from source code on a Sabayon SpinBase Virtual Machine, but whenever I run a configure or autogen.sh script I get an error: checking for gcc... gcc checking ...
0
votes
0answers
24 views

Building man-db on android L

After finding that the version of man in Busybox Stericson doesn't print man pages at all on my Nexus 4, I decided to build man-db for android myself. So far, I've done: cd man-db-2.6.7.1 export ...
0
votes
0answers
50 views

How to pass to gcc “-lregex”?

I want to compile a program,bacula under hpux but give me an error about "unsatisfied symbol" i think probably passing the correct lib "-lregex" will solve the problem. But i don't know how to pass to ...
0
votes
0answers
30 views

gcc on debian - Matlab interferes with ffmpeg?

This is a quite confusing problem. I wanted to use youtube-dl and it stops with the following error message from ffprobe (ffmpeg): ffprobe: ...
0
votes
0answers
140 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 ...
0
votes
0answers
47 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
111 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, ...
0
votes
0answers
98 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
0answers
163 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 ...