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
1
vote
2 answers

How to make a makefile for Oracle on Solaris/Linux Server?

I have an application which is running properly for Informix database. But now I want it to compile it for Oracle too. What changes should be made in the makefile shown below which is running properly for Informix? ESQL:=esql CFLAGS:=$(CFLAGS)…
MK Singh
  • 706
  • 1
  • 13
  • 36
1
vote
0 answers

Trying to install Glib via cpanm, cc access denied

I'm trying to install the Glib module via cpanm. I have all the prereqs, but during the "building and testing" stage, the installation fails. I checked the build log, and it looks like my access was denied when the app called "cc Glib.c". I have…
Eust. D
  • 11
  • 2
1
vote
0 answers

coredump not generated for daemon

I have a C process which is running as a daemon. Because of an error, it is segfaulting and terminates. To find the problem I have enabled ulimit -c unlimited to get the coredump to analyze. But the coredump file is not generated. If I run the…
karthi_ms
  • 5,568
  • 11
  • 38
  • 39
0
votes
1 answer

Makefile: $(CC) isn't working with ifeq

So, this is odd. In my makefile I have CC:=icc ifeq ($(CC),icc) CFLAGS := $(ICCFLAGS) LIBS := $(LIBS) -openmp else CFLAGS := $(GCCFLAGS) LIBS := $(LIBS) -fopenmp endif for make, the condition is false but CCC:=icc ifeq ($(CCC),icc) CFLAGS :=…
Patrik
  • 845
  • 2
  • 8
  • 20
0
votes
2 answers

Undefined function in CC compiler (minix)

I have a mysterious problem! In the main.c I have the following: #include "jogo.h" int main(){ int i; sef_startup(); vg_init(0x105); batalha_naval(); sleep(5); vg_exit(); return 0; } In the jogo.h I have: #ifndef…
André Freitas
  • 1,070
  • 1
  • 10
  • 13
0
votes
2 answers

How can I completely remove rust from my computer?

I was trying to build c++ code inside rust, and somehow I made some changes and now I am not even able to do simple cargo build command as it's providing me the following error error: could not compile `io-lifetimes` (build script) due to previous…
Ankit Kumar
  • 403
  • 3
  • 8
0
votes
0 answers

Machine-readable metadata autogenerated by Creative Commons (CC) not W3C-compliant

I added a CC license to my website using the Choose a License tool hosted by CC: Creative Commons License
rupumped
  • 209
  • 1
  • 11
0
votes
0 answers

Linker error when cross compiling for aarch-64 (linker command failed with exit code 1)

I'm trying to compile and build a few libraries for different host platforms with both gcc and clang so I can use the executable files in my research. So far I've been successful with gcc for all hosts, and with clang for aarch-64, i686, and…
Hashem HZ
  • 25
  • 4
0
votes
2 answers

cc static linking: How to import all symbols of just one .a library?

I have 2 static libraries, libalgha.a with 2 functions: func1() and func2() and libbeta.a with 2 functions: func3() and func4() I have 1 executable (mytest) linked with these 2 libs. The executable calls only func1() and func3(). So as I…
jav
  • 583
  • 5
  • 15
0
votes
0 answers

How to run mediapipe face_effect demo?

I'm trying to run the face effect demo to fit a mask or eyeglasses on my face. I have built a graph by command below: bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/_face_effect:face_effect_gpu…
Matin Zivdar
  • 593
  • 5
  • 20
0
votes
1 answer

Golang & CGO – link to a DLL dynamic library

Go language positions itself as a cross-platform language. To me a cross-platform language is that kind of language which is usable on all the supported platforms. I would like to use its ability to link to a DLL dynamic library. DLL libraries are…
user17471643
0
votes
0 answers

Can't Include Header Files

I have been trying to setup ORB Slam3 on a virtual machine but am unable to compile the main gcc file. Essentially, gcc is unable to include any of the header files that are not in the same directory as the file itself. All header files are present…
fi5421
  • 1
0
votes
0 answers

Omnet simTime() is not counting

I am trying to model wireless network using omnet++ 6.1 and i need to know the end-to-end time of each message i use the simTime() but it always return 0 any ideas why ?? thanks in advance. simTime() but it is always 0
0
votes
0 answers

Solution for Undefined symbols for architecture x86_64: "_main"

MyMac@Macbook Cs50 % make adab cc adab.c -o adab Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command…
k_sw
  • 1
  • 1
0
votes
1 answer

How to make one node communicate with multiple nodes?

I am trying to make my nodes communicate among themselves without changing any data in the message. Like node one and two echos tictocMsg with themselves node two and three echos the different message in this case rndMsg. How ever this did not work…
최지성
  • 1
  • 1