05-17-2006
cc compiler options
hi ,
I am compiling a C program with ccopts and cflags .
i am getting error message
main ( Not referenced yet ! probably due -u option )
can you please adice , how to get rid of this error.
Many thanks
Narendra babu C
8 More Discussions You Might Find Interesting
1. Programming
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message
"types.c: In function `main':
> types.c:4: warning: return type of `main' is not `int'
> ld: fatal: file values-Xa.o: open failed: No such file or directory
>... (5 Replies)
Discussion started by: hassan2
5 Replies
2. Programming
i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use?
can Microsoft Visual C++ compile C code?
thanks. (1 Reply)
Discussion started by: bb00y
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
4. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
5. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
6. AIX
Hi all,
I would like to compile a program and get current errors and warnings report to me as « gcc -Wall ».
Does someone can give me these options to get an equivalent ?
Or the ommon option used to put them in a CFLAGS in a Makefile.
Something like :
xlc -O2 -Wall my_prog.c -o... (5 Replies)
Discussion started by: domiq44
5 Replies
7. Programming
I am a INTEL fortran user recently migrated to linux and installed gfortran on my system.
I run numerical models as part of my research.
my question is on optimization of the fortran code.
I used the - vectorize option to compile for reducing the run time considerably and was happy. But... (1 Reply)
Discussion started by: schamarthi1
1 Replies
8. Ubuntu
Hello Everyone,
First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you !
I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies
LEARN ABOUT DEBIAN
gpgme-config
GPGME(1) General Commands Manual GPGME(1)
NAME
gpgme-config - script to get information about the installed version of GPGME
SYNOPSIS
gpgme-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]
DESCRIPTION
gpgme-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro-
grams that use GPGME. It is also used internally to the .m4 macros for GNU autoconf that are included with GPGME.
OPTIONS
gpgme-config accepts the following options:
--version
Print the currently installed version of GPGME on the standard output.
--libs Print the linker flags that are necessary to link a GPGME program.
--cflags
Print the compiler flags that are necessary to compile a GPGME program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that GPGME was built with when computing the output for the --cflags
and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that GpgME was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
12 October 2002 GPGME(1)