cc is a common name for a C compiler executable or driver. It is the default for the $(CC) make variable. For email CC fields, please use [carbon-copy]. For Adobe CC, use [creative-cloud].
Questions tagged [cc]
290 questions
1
vote
2 answers
K&R exercise 1-8. I can get my code to work correctly
I searched but didn't find a solution.
The program is supposed to count tabs, newlines and spaces.
#include
int main(void)
{
int c,nl,tab,blank;
tab = 0;
blank = 0;
nl = 0;
while((c = getchar()) != EOF)
{
…

clawhammer1234
- 83
- 3
1
vote
1 answer
Producing a.out with makefile and disable warning messages
Here are two separate questions.
Firstly, is it possible to modify a makefile so that it produces a.out that is readable by GDB? Secondly, in a makefile, how to disable all the warning messages on the screen output?
Here is the content of the…

IPython
- 91
- 1
- 9
1
vote
2 answers
Compiling Boost on solaris cc v5.8
I am trying to build Boost on a solaris system
/tmp/boost_1_58_0> cc -V
cc: Sun C 5.8 2005/10/13
usage: cc [ options] files. Use 'cc -flags' for details
I checked on some of sites. On one of the sites I have, 5.10 has been built with a Sun C…

raghu reddy
- 11
- 3
1
vote
1 answer
How to add CC recipient in Sendgrid v3?
Hello I need to add other "cc" recipients using the sendgrid v3 API in PHP. How do I do it?
In the documentation they put the following code, but I find it insufficient, because I need to see how to add "CC" recipients.
$request_body =…

Luis
- 2,006
- 5
- 31
- 47
1
vote
1 answer
Problems storing strings with scanf
I'm having problems with scanf in C. After reading other Stackoverflow posts on how to fix problems with scanf, I now know that scanf is not recommended, but I have to use it for a homework assignment. I am trying to store 3 string values that have…

T94j0
- 87
- 10
1
vote
0 answers
math library and POSIX realtime extensions for Mac
Although more a novice I try to explain my problem.
I am on a Mac and use command line to build the executable. The compiling command works successfully on Ubuntu.
cc program.o file1.o file2.o file3.o file4.o -lm -lrt -o program
ld: library not…

AjanO
- 433
- 1
- 9
- 20
1
vote
1 answer
compiling and running a c program using exec()
I am writing a program using execv() that compiles and runs another program. I've written up a simple C program named helloWorld.c that when executed outputs, "Hello world," and a second file named testExec.c that is supposed to compile and run…

Husso
- 262
- 6
- 17
1
vote
1 answer
CC command not found on openresty installation
I am not very familiar with Linux and I have just started learning about nginx and nodejs. Since I work with Windows I tried to install openresty through MinGW by running:
tar xvf ngx_openresty-1.9.7.1.tar.gz
cd…

Tina
- 11
- 5
1
vote
0 answers
Compiling VNC Server Binary Files (error when running $make)
Hey folks I'm trying to compile a ELF binary server files from here:https://github.com/LibVNC/libvncserver
To do this I follow the steps here: (starting line 10 - 31). I set the NDK toolchains correctly and now I'm trying to run the $configure…

Vel
- 51
- 6
1
vote
2 answers
What does "CC=/path/to/directory ./configure" do?
What does CC=/path/to/afl/afl-gcc ./configure do? (see. AFL's Readme)
Is it telling GCC to look into that directory for files?
(Maybe something like a path-variable, because of the =-character?)
Strange thing also: there is no configure-exe. in that…

user1511417
- 1,880
- 3
- 20
- 41
1
vote
1 answer
"char not expected" error when compiling in MINIX
I need to print a line to the screen and then get user input, but the printf("blah") statements cause my code to not compile. The error message says 'char not expected" but when I comment the printf() statements out, then the code compile.
#include…

Armand Maree
- 488
- 2
- 6
- 21
1
vote
2 answers
Setting install path with ZXPSignCmd and Adobe HTML Panels
I am signing an extension with ZXPSignCmd. At the end I have a signed .zxp file. The problem is that I can't force exchange manager to install the extension in appropriate folder. With exchange packager I would set the install directory to…

Brendan Thompson
- 51
- 1
- 6
1
vote
0 answers
Make various countdowns in a single project FLASH
I'm a begginer in Flash CC and I've a problem, I'm using a code to make a countdown that works perfect, this is the code:
var diaFinal:Date = new Date(2015,05,19, 3, 30);
var cronometroCuentaRegresiva:Timer = new…

Cesar Castillo
- 11
- 1
1
vote
0 answers
gcc compiler default options when calling gcc trough CC, cross compiling
I am looking for a flag which would tell me what are the default options of the gcc compiler. For example for cray compiler that is "-hdisplay_opt" I need gcc equivalent for that. I am using gcc/4.9.1.
For example this is not useful for me: gcc -O3…

user2458189
- 93
- 16
1
vote
0 answers
flash cc vs. flash cc 2014
I have the problem when I open my file in flash CC, I can't trace anything.
If I use this code in Flash CC, I only can see the trace when I close my file. When I click 100 times on the button, I don't see anything on runtime. But when I close my…

Eljosi
- 13
- 5