Questions tagged [cc]

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].

290 questions
3
votes
1 answer

Correspoding gcc option?

With IBM's cc compiler there is one option -brtl. cc-brtl ..... This option does the following:- -brtl Tells the linkage editor to accept both .so and .a library file types. I am using gcc compiler now on ubuntu. I want to know what is the…
Grv
  • 273
  • 3
  • 14
3
votes
1 answer

how to send multiple emails using sendgrid and and also edit header for website name

I am trying to use send grid as an email platform for my php but the problem is I cannot send multiple emails as a CC header and also I cannot edit the FROM header to display a Name in front of the email address. $from = "News Letter…
Link
  • 303
  • 1
  • 5
  • 13
3
votes
2 answers

"void not expected" in C

I have the below code in a larger C program. I've had no issues until just now when I tried to compile it; it's being run in Minix 2.0.4 and compiled using cc. A compilation error is thrown as follows: line 26: void not expected Line 26 is simply a…
vaindil
  • 7,536
  • 21
  • 68
  • 127
3
votes
2 answers

Changes in included file not registering in C

I am on Arch Linux. I have tried gcc and cc. I have quite a strange problem. I have a file included from /usr/include (installed from an Arch package) in a C program like so. // prog.c #include When I change it, nothing happens.…
rbong
  • 86
  • 7
3
votes
1 answer

Install nullfs on Debian

I am using a java program. It automatically creates log files in a directory, but I am doing that myself a different way with tee. I cannot find an easy way to disable the logs, so I am resorting to using nullfs. I cloned it with git clone…
Coder-256
  • 5,212
  • 2
  • 23
  • 51
3
votes
2 answers

C compiler for mac?

I'm working through a text on linking, and wanted to work along with some examples in said text. To better understand whats going on when I invoke the gcc driver, I was looking into doing all the compilation old-school by hand; preprocessing using…
gone
  • 2,587
  • 6
  • 25
  • 32
3
votes
0 answers

Compiling a shared library with or without -c

I was compiling a c program as a shared library to be imported using Ctypes into python. These are the steps that I follow : cc -c -fPIC simplepbc.c -lcrypto -lpbc -lgmp -o ibc.o cc -shared ibc.o -lcrypto -lpbc -lgmp -Wl,-soname,libibc.so.1 -o…
Ajoy
  • 1,838
  • 3
  • 30
  • 57
3
votes
1 answer

Solaris 10 CC Preprocessor bug causes undefined symbols

I have a very very simple C++ file as follows that I'm compiling on Solaris 5-10 with the CC compiler. Here is the source code in my file myTest.C: #include std::map myVar2; I would like to first run the CC pre-processor on this…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
3
votes
2 answers

Find out CPU core of specific thread at runtime

I am running CC compiler over SUN/Solaris, I have more then 64 threads assigned by the OS to different cores. I am interested to know if there is method to get the core id for different threads during run time? I am not setting affinity for those…
Michael
  • 2,827
  • 4
  • 30
  • 47
2
votes
1 answer

Unexpected behaviour in Lex

I have written this code in my bas.l file digit [0-9] %% {digit}{1,5} {printf("Small Number");} ^{digit}+$ {printf("Big Number");} %% int main(void){ yylex(); return 0; } Now I used lex and cc commands to build my lexical analyser and…
Ku-hello
  • 35
  • 5
2
votes
1 answer

Segfault only when using pkg-config --libs for glib.h

I have the following piece of code, compiled with gcc `pkg-config --cflags glib-2.0` test.c -o test the code works, but only when I use gcc `pkg-config --cflags --libs glib-2.0` test.c -o test the code gets segfault when running. #include
2
votes
1 answer

Beryllium crate does not link with project, linking with cc fails

Allo! I've been trying to compile an OpenGL example here and so far I've been porting the examples for the newest package versions. After I've finally got the compiler to shut up and compile, it... didnt. Compiling opengl v0.1.0…
inzig0
  • 51
  • 1
  • 3
2
votes
0 answers

CC,BCC property not working in outlook email compose option in javascript

In my requirement I need to implement email option. By default I have to open outlook as default composer. I am using below code to open outlook as default var mailData = 'https://outlook.live.com/owa/?path=/mail/action/compose&to=' +…
Murugan.P
  • 335
  • 3
  • 13
2
votes
1 answer

C compiler can't create executables

I'm trying to install the elastic beanstalk cli, like so: ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer But I'm getting the following error: python-build: use openssl from homebrew python-build: use readline from homebrew Downloading…
zendevil
  • 899
  • 4
  • 13
  • 26
2
votes
1 answer

Compiling issues with Rust language: starting with 'Hello World'

I am using a up2date Linux Mint system which I am using for lots of trial and error projects. Today I stumbled upon Rust and wanted to try it out. So far so good. Installing Rust was easy and simple. Used the suggested method, set the…
sgoeting
  • 57
  • 5
1 2
3
19 20