Top "Cc" questions

cc is a common name for a C compiler executable or driver.

What does CC?= in a Makefile mean?

I have a Makefile for a C program that has the declaration CC?=gcc Changing it to CC?=g++ does …

gcc makefile g++ cc
Why am I getting this error: "data definition has no type or storage class"?

#include <stdio.h> #include <stdlib.h> struct NODE { char* name; int val; struct NODE* next; }; typedef …

c pointers struct bison cc
Quick way to override -Werror flag?

If cc configuration is set to use -Werror is there a way to override -Werror flag from the terminal when …

c gcc makefile cc
ld: library not found for -lgfortran - Mac Symlink issue?

I am trying to install ObsPy with pip. The installation fails on the cc command below: cc -bundle -undefined dynamic_…

symlink gfortran cc
C comparing char to "\n" warning: comparison between pointer and integer

I have the following part of C code: char c; int n = 0; while ( (c = getchar()) != EOF ){ if (c == "\n"){ n++; } } …

c pointers cc
How to get CMake to use the default compiler on system PATH?

There is the same question and the answer. The problem is that the answer seems to be wrong (actually is …

linux path cmake cc
How to set the path that a .so library will search for other .so libraries?

I have a libA.so that depends on libB.so, which is located at ../libB/ (from libA.c). I'm trying …

linux macos shared-libraries dynamic-linking cc
struct definition inside main() causing Segmentation Fault

Is it not possible to define structure inside main() . I tried the following only to get a Segmentation Fault: #include &…

c struct solaris sunstudio cc