Top "Gcc" questions

GCC is the GNU Compiler Collection.

Make install, but not to default directories?

I want to run 'make install' so I have everything I need, but I'd like it to install the things …

linux gcc makefile autotools
How to specify new GCC path for CMake

My OS is centos which has a default gcc in path /usr/bin/gcc. But it is old, I need …

gcc cmake
I don't understand -Wl,-rpath -Wl,

For convenience I added the relevant manpages below. My (mis)understanding first: If I need to separate options with ,, that …

gcc ld rpath
GCC fatal error: stdio.h: No such file or directory

I'm trying to compile a program in C on OS X 10.9 with GCC 4.9 (experimental). For some reason, I'm getting the …

c gcc stdio
How to compile for Windows on Linux with gcc/g++?

I have written some effects in C++ (g++) using freeglut on Linux, and I compile them with g++ -Wall -lglut …

c++ opengl gcc glut freeglut
What does the fpermissive flag do?

I'm just wondering what the -fpermissive flag does in the g++ compiler? I am getting: error: taking address of temporary […

c++ gcc compiler-options
Why does the order in which libraries are linked sometimes cause errors in GCC?

Why does the order in which libraries are linked sometimes cause errors in GCC?

gcc linker
LD_LIBRARY_PATH vs LIBRARY_PATH

I'm building a simple C++ program and I want to temporarily substitute a system supplied shared library with a more …

gcc g++ ld
printf not printing on console

I’m getting started in the C language. I am using eclipse (juno) as my IDE and installed CDT plugin. …

c eclipse gcc printf scanf
Multiple glibc libraries on a single host

Multiple glibc libraries on a single host My linux (SLES-8) server currently has glibc-2.2.5-235, but I have a program …

linux gcc glibc