Questions regarding GNU Compiler Collection Suite.

learn more… | top users | synonyms

1
vote
1answer
10 views

Memory usage stays high after compilation jobs

I am operating a small Linux VM with 1Gb of RAM. It is a fairly typical LAMP setup which takes about 16% of memory on normal usage I used the box to compile stuff yesterday, the memory went up to 60% ...
0
votes
0answers
11 views

Not compiled gcc, failed configure-target-libquadmath

Trying to compiling gcc-4.8.2 after downloading: ../gcc-4.5.2/configure \ --target=$LFS_TGT --prefix=/tools \ --disable-nls --disable-shared --disable-multilib \ --disable-decimal-float ...
5
votes
0answers
32 views

Would it be possible to compile and bootstrap GNU?

A new Guix release came out some time ago. And I got the idea that if I can bootstrap glibc, gcc, and guix to HURD and Mach, I can have a non-Linux GNU system. But I also need some software like bash, ...
-2
votes
0answers
20 views

How to manually remove GCC (without package manager) on Mac OS X Mavericks

I would like to completely remove GCC from my Mac OS X Mavericks system. The problem is I have installed it manually without a package manager. I have tried to list all files from the GCC tar archive ...
3
votes
2answers
169 views

configure: error: C compiler cannot create executables

I am trying to upgrade apache 2.2.15 to 2.2.27. While running config.nice taken from apache2.2.15/build I am getting following error: checking whether the C compiler works... no configure: error: in ...
2
votes
2answers
79 views

Downgrade gcc to 4.6.3 on fedora?

How can I downgrade gcc to 4.6.3 on fedora. I am working on a project that I do not have permission to update to be comparable with 4.8 and need to be able to install gcc 4.6.3. How can I do this?
0
votes
4answers
129 views

Compiling C/C++ code by way of including preprocessor build instructions in an actual C/C++ source file

So here's the thing, and it's really just conceptual so don't let it bug you: I've got reasons for not wanting to rely on a specific build system. I don't mean to dis anybody's favorite, but I really ...
2
votes
0answers
34 views

GCC cofigure 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 ...
0
votes
1answer
48 views

Create single executable file from directory

I'm looking to create a single executable file from a directory, to make a 'standalone' app. So say my directory structure is: -app --assets --bin --views runme go.sh and within go.sh I ...
1
vote
0answers
60 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
68 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 ...
4
votes
1answer
146 views

GCC (toolchain) for Ralink SoC - ELF not found and syntax error

I bought a Chinese P2P camera and there was no MJPEG stream, so I wanted to compile mjpg-streamer for it. Here's my CPU's info: # cat /proc/cpuinfo system type : Ralink SoC processor ...
2
votes
1answer
98 views

How to build gcc inside a Debian chroot?

I used debootstrap to set up a minimal Debian system (x86): debootstrap wheezy /var/chroot http://ftp.debian.org/debian/ Then I entered the chroot and installed some packages: apt-get install ...
1
vote
1answer
114 views

Understanding SPL & U-Boot Memory Map using bdinfo?

We are using beaglebone black based custom board, I want to write some test results into RAM location from SPL, and read that log and send it via tftpput to the host PC. So far I'm able to do tftpput ...
2
votes
1answer
104 views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
3
votes
1answer
79 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m ...
1
vote
0answers
87 views

Gcc configuration error

I am trying to build GNU toolchain for OpenRISC by following the guide given at http://openrisc.net/toolchain-build.html#_stage_1_gcc on Fedora Virtual Box Image. I am getting error saying ...
3
votes
1answer
213 views

sudo environment: “g++: command not found”

I have a relatively fresh RHEL 6.5 install, on to which I have installed from source GCCC 4.9. After I installed GCC 4.9, I uninstalled the distro-provided older GCC version via: sudo yum remove gcc ...
1
vote
0answers
151 views

Cross-compiling OpenSSH for Android

I'm working on compiling OpenSSH for Android based on this answer at Stack Overflow. Here's what I've done so far: Building on Ubuntu 14.04 amd64. apt-get install build-essential ...
0
votes
2answers
84 views

6.7 Linux headers `make mrproper` fails in lfs 7.5

I'm building lfs-7.5. When I run make mrproper in chapter 6.7, it says: make: gcc: command not found and on running bash /tools/bin/gcc, it says: bash: /tools/bin/gcc: no such file or ...
1
vote
2answers
73 views

Alias from .bash_profile is not reflected across the system

I have few path settings and alias in .bash_profile, and I am exporting those. For example: alias gcc=/abc/def/......./myrtgcc export gcc And I want use myrtgcc to compile C programs either from ...
3
votes
1answer
24 views

How to configure my enviorment in such a way that a proper (different from the system one) version of library is used

I guess that this question is a borderline between ServerFault and StackOverflow and this site. But I think that U&L is most relevant. I have some C++ code that depends on a library in version X ...
1
vote
3answers
116 views

GCC: set architecture to pass to linker

GNU C compiler passes the wrong architecture name to the linker. For example gcc helloworld.i throws the error ld: unknown/unsupported architecture name: -arch arm. After some experimenting with LD, ...
0
votes
0answers
39 views

g cc installation in fedora 20

yum install g cc Error: cannot retrieve meta-link for repository: fedora/20/x 86_64. Please verify its path. this is error i am getting during installation of g cc compiler in fedora 20. can any ...
1
vote
1answer
1k views

how to specify the libstdc++.so.6 to use

I am trying to compile a program of mine, that needs C++11 features and a newer version of boost than is installed on the target machine. I therefore compiled and installed gcc 4.9 to some local ...
0
votes
1answer
248 views

gcc produces erroneous “No such file or directory” under Cygwin

For demo purposes, here is my one line program test.c : #include <dbus/dbus.h> This is my makefile : INC = -I/usr/include/dbus-1.0 \ -I/usr/lib/dbus-1.0/include ...
1
vote
2answers
1k views

Error in compiling file using gcc: “/bin/sh: g++: command not found”

I want to compile a c++ program in Fedora Linux, but the program isn't compiled correctly. I got the following error: /bin/sh: g++: command not found make[1]: [*.o] Error 127 make[1]: Leaving ...
0
votes
2answers
54 views

How do I get GCC 4.7.1 with 64bit support installed for my user account only on Solaris x86

I have been put on a task to upgrade and build 32bit and 64bit libraries for software developers to use. I need to install GCC version 4.7.1 with 64bit support on the Solaris x86 machine I'm using for ...
0
votes
1answer
83 views

Sparc Solaris - install optimised GCC 4.9, 32/64 bit?

We have a new (to us) solaris 10 box running on T4 cpus. Our software stack is Perl/Oracle based. We now have to install GCC 4.9. I wish to optimise this for the T4 CPU. I think the following ...
1
vote
1answer
77 views

Install the latest gcc on Pygoscelis Papua (Gentoo)

I would like to try out Gentoo and I started a Pygoscelis Papua instance on Amazon EC2. How do I install the latest version of gcc to compile my programs? I tried emerge -u gcc gcc-config -l as ...
2
votes
1answer
687 views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD ind set up the system so that this latest version would be used to compile further programs? At the moment of this writing the latest release of gcc is ...
2
votes
2answers
200 views

Segmentation faults during compilation - where to begin?

I have a particular problem I need solved right now, but I'd really like to know a good strategy for approaching this type of problem - segmentation faults when compiling other people's code, so I'm ...
-1
votes
1answer
2k views

make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2

I tried to install MADWIFI on my OpenMediaVault-Server. Any more information needed? I get this error, every time i enter make: root@NAS2024:/media/5703066A59887FF7/Dsys/madwifi-0.9.4# make Checking ...
1
vote
3answers
391 views

libstdc++.so.6: open failed: No such file or directory

I'm trying to run my first C++ program on Solaris. Just a simple Hello World program. When I try to run. I get the error libstdc++.so.6:open failed:No such file or directory. Of course I did some ...
0
votes
1answer
38 views

Compiling for Red Hat 5.9

I need to compile a C++ application to run on Red Hat 5.9, but I don't have access to a development server that runs Red Hat 5.9. My current executable compiled on Ubuntu 10.04 produces the error ...
2
votes
1answer
448 views

Why can yum still not update GCC 4.9.0?

GCC 4.9.0 has been released since April 22. However, I can still not update it through the following command: $yum update gcc Why does the yum repository lag so much behind gcc.gnu.org?
3
votes
4answers
599 views

Automatically update GCC to a later release without upgrading distribution

My understanding is that C++11 support in G++ 4.7.2 wasn't great (it gives me a warning everytime I try to compile my C++ code, presumably there are good reasons for these warnings), so thought I ...
0
votes
1answer
1k 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 ...
2
votes
1answer
171 views

Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')

I have Solaris 10 x86 just installed on my VBox, but I have problem with make and make install command. When I try to run this command I got error related to gcc compiler option -t: Here is config.log ...
1
vote
1answer
105 views

Install “ia32-libs” package on Windows to use in Linux

I have recently installed a GCC ARM Embedded toolchain for Linux (to run on a 64-bit machine). However, the pre-built version of Linaro GCC runs on 32 bit machines. The solution is simple: apt-get ...
1
vote
1answer
122 views

Arch Linux on ARM chipset I just want to install gcc 4.7

It sounds simple enough but this has got me pulling my hair out. I am running Arch Linux on an ARM chipset (Raspberry Pi specifically) that I used to be using as a print server. It was running CUPS ...
0
votes
1answer
175 views

Solaris 11 pkg repository update fails

I want to install gcc in my solaris 11 working in virtualbox, I tried pkg install gcc-45 but I am getting : pkg: 0/1 catalogs successfully updated: Unable to contact valid package ...
1
vote
1answer
198 views

arm-linux-gnu-gcc Vs arm-linux-gcc

What is the difference between arm-linux-gnu-gcc and arm-linux-gcc Which should be used for cross compiling a C program for ARM ?
2
votes
4answers
133 views

How Can I Change the Default arguments to gcc When I run Make “filename”

Forgive me if I posted this in the wrong Stack. Every time I run make for a file without any Makefiles in the directory, make still works and compiles the source code but only with the arguments: gcc ...
1
vote
0answers
47 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?
2
votes
0answers
237 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 ...
0
votes
1answer
77 views

libext2fs gcc linking error

I am writing a C program which uses libext2fs: #include <ext2fs/ext2fs.h> int main(int argc, char *argv[]) { char *fsname = argv[1]; errcode_t err; ext2_filsys fs; err= ...
0
votes
1answer
90 views

Compile OS with gcc and ld on Linux

I'm practicing operating system development and am having trouble getting gcc and ld to produce pure binary without any metadata or section labels. For example: int function(){ return 100;} would ...
2
votes
1answer
210 views

How to add new gcc compiler to my Linux mint OS

I want to add new gcc cross compiler to my Linux mint. I need this compiler to compile codes that should run on a Khepera III Robot. I have searched a round but I didn't find any clear answer to my ...
0
votes
2answers
101 views

How do I install gnuconio on linux [closed]

I downloaded the gnuconio on this site (http://sourceforge.net/projects/gnulinuxconioh/) I unzipped the zip he jerou me the following files: bash-4.2$ ls Doxyfile READ-ME.txt conio.c conio.ppr ...