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
0
votes
1 answer

Aggregating Source Files in gcc/cc

I am trying to write a program that will play a game using strategies that I can easily modify and compile in multiple directories. Most of the source files of the game are immutable (i.e. they remain the same even when strategies are altered). Say…
0
votes
2 answers

Is it possible to compile multiple target files using CC compiler?

I am using Minix 2.0.4 so I can't use gcc. I want to use one make file to compile multiple C programs, with multiple targets. Here is the current state of my Makefile CFLAGS = -D_POSIX_SOURCE LDFLAGS = CC = cc LD = cc PROG = prog1…
johns4ta
  • 886
  • 2
  • 12
  • 38
0
votes
2 answers

C Compiling: error: stray '\4' in program ; octal flow?

Trying to compile a load of .c files (1) The files compile ok, using cc cc -Wall -Wextra -Wunreachable-code -ggdb -O0 *.c (2) Then, I need to make a static library from the final output, to use in a c++ program. So I do: ar cru liborientdb-c.a…
Imme22009
  • 3,992
  • 7
  • 31
  • 47
0
votes
1 answer

Getting Warning while installing flink on MacBook "There is no C compiler on your system"

To get support I am installing fink on my MacBook Pro. After execute bootstrap script I am getting following error log Checking package... looks good (fink-0.35.1). Checking system... i386-apple-darwin12.4.0 This system is supported and…
CoDe
  • 11,056
  • 14
  • 90
  • 197
0
votes
1 answer

Dreamweaver Syntax Highlight (Php, Html)

I have just started using Dreamweaver CC, been using notepad++ previously. When I write code in Notepad ++, such as php, in notepad++, if I highlight an opening delimiter, it would automatically highlight the closing corresponding tag. Can someone…
0
votes
1 answer

Error: Could not find a match for std::multimap

I am trying to compile a C++ application on SUN server using the compiler Sun C++ 5.9 SunOS_sparc Patch 124863-01.I am getting the below error while compiling Error: Could not find a match for std::multimap
jamel
  • 303
  • 2
  • 7
  • 16
0
votes
1 answer

Can't compile and run minisat+ sat solver

I use one of the Cent0S machines in my university's department.Note that i don't have permissions to use the system i use as root.I downloaded the minisat+zip file I extracted the zip.According to install file i run make rx but i have the…
Dchris
  • 2,867
  • 10
  • 42
  • 73
0
votes
1 answer

Could not find a match for std::multimap error

I am trying to compile a C++ application on SUN server using the compiler Sun C++ 5.9 SunOS_sparc Patch 124863-01. I am getting an error saying Error: Could not find a match for std::multimap
jamel
  • 303
  • 2
  • 7
  • 16
0
votes
1 answer

How to deal with CC transaction that succeeds after screen timeout?

I'm not sure this is a good question. That said, I don't know exactly what question I should be asking, so if I can just find out that piece of information, I think this will have been worthwhile... At work, we have a machine that takes CC payments.…
user1949917
0
votes
2 answers

MPICH2 compilation issue using Cygwin

Attempting to compile MPICH2 on a Windows machine using Cygwin. A bit of relevant information $ uname -> CYGWIN_NT-6.1 $ gcc --version -> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation,…
Daeden
  • 481
  • 1
  • 6
  • 20
0
votes
1 answer

Solaris 5-10 CC Compiler missing symbols bug causes link failure

Possible Duplicate: Solaris 10 CC Preprocessor bug causes undefined symbols My apologies if this question posting looks familiar. I posted this issue yesterday here: Solaris 10 CC Preprocessor bug causes undefined symbols. However, I have added…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
0
votes
0 answers

Why cc cannot find lgomp while gcc can

on Mac OS X 10.7 I run this command on this file http://www.imagemagick.org/source/wand.c as they said here http://www.imagemagick.org/script/magick-wand.php cc -o wand `pkg-config --cflags --libs MagickWand` wand.c An error occurred: ld: library…
mitnk
  • 3,127
  • 2
  • 21
  • 28
0
votes
3 answers

Makefile: set parameters for commands executed by implicit rules (CFLAGS, LDFLAGS)

I'm very new to makefiles. I'm reading the GNU-make manual, but I'm still unclear about how to set the parameters for the compiler and the linker when they are executed by an implicit rule. This is part of the makefile, note there is no explicit…
laobeylu
  • 283
  • 3
  • 14
0
votes
2 answers

Confusion in Logical AND operation

I have some confusion in how following expression works. cc file_name.c && ./a.out When filename.c gets compiled successfully , its exist status would be 0 (zero). So as per logical && operation , second expression ( ./a.out ) not suppose to…
Pavunkumar
  • 5,147
  • 14
  • 43
  • 69
0
votes
2 answers

Building msgpack-python on Solaris 10 - Use of is valid only in a c99 compilation environment

I'm trying to build the python module msgpack-python on Solaris with the Sun compiler and am getting this error during the python ./setup.py build: /opt/SUNWspro/bin/cc -DNDEBUG -O -xO3 -m32 -xarch=sparc -I/opt/csw/include -xcode=pic32…
user1522264
  • 123
  • 1
  • 1
  • 5