Top "Gcc" questions

GCC is the GNU Compiler Collection.

How to use/install gcc on Mac OS X 10.8 / Xcode 4.4

I have install Mountain Lion (Mac OS X 10.8) and now gcc doesn't seem to be available anymore. I've also installed …

xcode macos gcc
How to get rid of `deprecated conversion from string constant to ‘char*’` warnings in GCC?

So I'm working on an exceedingly large codebase, and recently upgraded to gcc 4.3, which now triggers this warning: warning: deprecated …

c++ string gcc
How do I list the symbols in a .so file

How do I list the symbols being exported from a .so file? If possible, I'd also like to know their …

c++ c gcc symbols name-mangling
How to automatically generate a stacktrace when my program crashes

I am working on Linux with the GCC compiler. When my C++ program crashes I would like it to automatically …

c++ gcc crash stack-trace assert
warning: incompatible implicit declaration of built-in function ‘xyz’

I'm getting a number of these warnings when compiling a few binaries: warning: incompatible implicit declaration of built-in function ‘strcpy’ …

c gcc gcc-warning
How do you get assembler output from C/C++ source in gcc?

How does one do this? If I want to analyze how something is getting compiled, how would I get the …

c++ c debugging gcc assembly
Removing trailing newline character from fgets() input

I am trying to get some data from the user and send it to another function in gcc. The code …

c string gcc newline fgets
How do I fix "for loop initial declaration used outside C99 mode" GCC error?

I'm trying to solve the 3n+1 problem and I have a for loop that looks like this: for(int i = …

c gcc for-loop
Is bool a native C type?

I've noticed that the Linux kernel code uses bool, but I thought that bool was a C++ type. Is bool …

c gcc linux-kernel boolean
How do I force make/GCC to show me the commands?

I'm trying to debug a compilation problem, but I cannot seem to get GCC (or maybe it is make??) to …

gcc makefile verbosity