Top "Gcc" questions

GCC is the GNU Compiler Collection.

Compile a DLL in C/C++, then call it from another program

I want to make a simple, simple DLL which exports one or two functions, then try to call it from …

c++ c dll gcc vb6
How to compile and run C in sublime text 3?

I would like to compile and run C program in sublime text 3 on ubuntu 14.04. Currently the program is being compiled …

c gcc sublimetext3 ubuntu-14.04
Where does gcc look for C and C++ header files?

On a Unix system, where does gcc look for header files? I spent a little time this morning looking for …

c gcc header
How can I tell gcc not to inline a function?

Say I have this small function in a source file static void foo() {} and I build an optimized version of …

c gcc inline
mingw-w64 threads: posix vs win32

I'm installing mingw-w64 on Windows and there are two options: win32 threads and posix threads. I know what is the …

windows gcc pthreads mingw
How to turn off gcc compiler optimization to enable buffer overflow

I'm working on a homework problem that requires disabling compiler optimization protection for it to work. I'm using gcc 4.4.1 on …

c gcc buffer-overflow compiler-optimization
How to remove unused C/C++ symbols with GCC and ld?

I need to optimize the size of my executable severely (ARM development) and I noticed that in my current build …

c++ c gcc ld strip
How to printf a 64-bit integer as hex?

With the following code I am trying to output the value of a unit64_t variable using printf(). Compiling the …

c gcc 64-bit
Why do I have to define LD_LIBRARY_PATH with an export every time I run my application?

I have some code that uses some shared libraries (c code on gcc). When compiling I have to explicitly define …

c linux gcc shared-libraries ld
How to install GCC piece by piece with GMP, MPFR, MPC, ELF, without shared libraries?

How do I install GCC (the GNU Compiler Collection) piece by piece, using the current version, using the correct versions …

gcc elf gmp mpfr mpc