Top "Gcc" questions

GCC is the GNU Compiler Collection.

Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?

I am doing some numerical optimization on a scientific application. One thing I noticed is that GCC will optimize the …

gcc assembly floating-point compiler-optimization fast-math
Where are include files stored - Ubuntu Linux, GCC

So, when we do the following: #include <stdio.h> versus #include "myFile.h" the compiler, GCC in my …

linux gcc location include
Objective-C for Windows

What would be the best way to write Objective-C on the Windows platform? Cygwin and gcc? Is there a way …

objective-c windows winapi gcc cygwin
How do I best silence a warning about unused variables?

I have a cross platform application and in a few of my functions not all the values passed to functions …

c++ gcc warnings gcc-warning
"Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo." when using GCC

While attempting to compile my C program, running the following command: gcc pthread.c -o pthread Returns: Agreeing to the …

ios xcode gcc
Error "gnu/stubs-32.h: No such file or directory" while compiling Nachos source code

I am trying to install Nachos on my laptop and I have Ubuntu 11.04 on the laptop. The code is in …

ubuntu gcc mips cross-compiling nachos
error: unknown type name ‘bool’

I downloaded the source code and wanted to compile the file of scanner. It produces this error: [meepo@localhost cs143…

c gcc lex
Undefined reference to `pow' and `floor'

I'm trying to make a simple fibonacci calculator in C but when compiling gcc tells me that I'm missing the …

c gcc undefined-reference
Compiling a C++ program with gcc

Question: How to compile a C++ program with gcc compiler? info.c: #include<iostream> using std::cout; using …

c++ gcc g++ gnu
Telling gcc directly to link a library statically

It feels strange to me to use -Wl,-Bstatic in order to tell gcc which libraries I want to link …

gcc linker static-libraries dynamic-linking