11-29-2006
Try gcc instead of cc. If that doesn't work, you don't have a C compiler installed. What UNIX are you using?
10 More Discussions You Might Find Interesting
1. HP-UX
Hi!!,
my HP-UX - 10.2 compiler doesnt appear to support ANSI style of coding. On compiling my C code, it flags error messages like
error 1705: Function prototypes are an ANSI Feature
Is it a generic problem with the HP compiler or do I need to use some special switches on the command... (9 Replies)
Discussion started by: jyotipg
9 Replies
2. UNIX for Dummies Questions & Answers
:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies
3. UNIX for Dummies Questions & Answers
i am a new user of unix
I saved an executable in fortran source code and now i have to compile this executable ( on unix). And i don't know to do it .what is the command?
thank you (2 Replies)
Discussion started by: mono
2 Replies
4. UNIX for Advanced & Expert Users
My question is: difference between unix and linux in terms of compiler, file system, ANSI
compliance, standard liabrary issues, threading issues, operating system
calls memory issues..ie whether these things wud cause problems while
porting a unix programme to linux.?
I think answer is depend... (1 Reply)
Discussion started by: prasoon
1 Replies
5. Shell Programming and Scripting
Does a unix compiler come standard on Darwin or do you have to DL one. What programing langauge do you write it in... I know on MS-Dos its a bash file that just uses dos commands, but I keep hearing C in this forum. how would I write and compile code for unix? just cat a new file, use unix... (0 Replies)
Discussion started by: Mars8082686
0 Replies
6. What is on Your Mind?
Hi All,
Can any one know about "Certification Programme for Unix Shell Scripting"?
How do I become Certified Unix shell scripting programmer? Where will I get this certification? How do I continue my career as a script programmer? What are the additional things to learn.
Currently I know... (14 Replies)
Discussion started by: ganapati
14 Replies
7. Shell Programming and Scripting
I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do.
Here is the way i am doing
make -f $LIB_LIB/makefile.templ sample
I am getting the following errors, which environment and where to set to point... (1 Reply)
Discussion started by: satvd
1 Replies
8. Programming
Hi All,
How to call the C programme in UNIX shell scripting?
please send me some sample script for the above scenario.
Regards,
MPS:b: (1 Reply)
Discussion started by: psiva_arul
1 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
I have written the shell script to illustrate arithmetic operations using case command as shown below:
#!/bin/bash
echo -n "Enter any two numbers :"
read a
read b
MENU="
Select any one option
1) Addition
2) Substraction
3) Multiplication
4) Division
5) Quit"
clear
$x=0;... (5 Replies)
Discussion started by: grc
5 Replies
10. UNIX for Dummies Questions & Answers
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
LEARN ABOUT DEBIAN
g-wrap-config
g-wrap-config(1) General Commands Manual g-wrap-config(1)
NAME
g-wrap-config - script to get information about the installed version of G-Wrap
SYNOPSIS
g-wrap-config [ --version ] [ --c-compile-args LANG | --c-link-args LANG | --guile-module-directory ]
DESCRIPTION
g-wrap-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link
progams, libraries, and plugins that use G-Wrap. However, since G-Wrap 1.9, this tool has been deprecated in favor of pkg-config(1). New
code should use the g-wrap-2.0-guile pkg-config module, g-wrap-config only exists for compatibility reasons.
OPTIONS
--c-compile-args LANG
Print the compiler flags that are necessary to compile a program or library that uses the G-Wrap language binding for LANG.
--c-link-args LANG
Print the linker flags that are necessary to link a program that uses the G-Wrap language binding for LANG.
--version
Prints the currently installed version of G-Wrap on standard output.
EXAMPLES
gcc -o main.o $(g-wrap-config --c-compile-args guile) main.c
is how you might use g-wrap-config to compile a C source file for an executable program.
gcc -o my_app $(g-wrap-config --c-link-args guile) main.o util.o
is how you might use g-wrap-config to link compiled objects into an executable program.
AUTHOR
G-Wrap has been written by Andreas Rottmann, Rob Browning and Christopher Lee.
This manual page was written by Andreas Rottmann, originally for the Debian Project.
G-Wrap 1.9 2005-05-01 g-wrap-config(1)