Top "Gcc" questions

GCC is the GNU Compiler Collection.

What is a file with extension .a?

I downloaded this: https://github.com/mongodb/mongo-c-driver And now I'm trying to use it inside my C program, but …

c gcc shared-libraries
How to set the LDFLAGS in CMakeLists.txt?

I set the CFLAGS in CMake by CMAKE_C_FLAGS. Is something like this to set LDFLAGS?

gcc makefile cmake ld ldflags
What exactly is LLVM?

I keep hearing about LLVM all the time. It's in Perl, then it's in Haskell, then someone uses it in …

gcc llvm
ARM compilation error, VFP registers used by executable, not object file

I have been having this problem for the last few days and I can't get my head around what is …

gcc compilation arm
How to generate gcc debug symbol outside the build target?

I know I can generate debug symbol using -g option. However the symbol is embeded in the target file. Could …

gcc debugging pdb-files
How to disable compiler optimizations in gcc?

I am trying to learn assembly language. I have searched and found how to disassemble a .c file but I …

c gcc compiler-optimization compiler-options
gdb: how to print the current line or find the current line number?

list commands prints a set of lines, but I need one single line, where I am and where an error …

debugging gcc gdb
How to recompile with -fPIC

I was trying to reinstall my ffmpeg, following this guide, on my ARM Ubuntu machine. Unfortunately, when I compile a …

c++ gcc compilation ffmpeg fpic
Differences between arm64 and aarch64

I have two "unlocked" devices, an iPad mini 3, and a Galaxy Edge 6, both endowed with a terminal and a minimalistic …

android ios gcc arm arm64
Clang vs GCC for my Linux Development project

I'm in college, and for a project we're using C. We've explored GCC and Clang, and Clang appears to be …

c++ c linux gcc clang