Sponsored Content
Full Discussion: cc compiler options
Operating Systems HP-UX cc compiler options Post 302073737 by jim mcnamara on Wednesday 17th of May 2006 07:29:08 AM
Old 05-17-2006
It means that main() does not exist in the source code file(s) you are compiling.

Two choices:
1. create an object to link later on: add the -c option to CCOPTS
2. edit the file and add a valid main()
 

8 More Discussions You Might Find Interesting

1. Programming

C compiler

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

c compiler

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

xl C/C++ compiler to GCC compiler

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

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

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

cc compiler and gcc compiler

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

xlc compiler options versus gcc

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

Gfortran compiler options.

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

Kernel boot options removed by fault, no boot options

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
orbit2-config(1)						   User Commands						  orbit2-config(1)

NAME
orbit2-config - helper script for building with orbit2 SYNOPSIS
orbit2-config [--help ] [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir] [--use-service=service] [client | server] DESCRIPTION
The orbit2-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the orbit2 library. It is also used internally by the .m4 macros for GNU autoconf that are included with orbit. In most cases, you will use one (or both) of the options --cflags or --libs, depending on whether you are compiling or linking. OPTIONS
The following options are supported: --cflags Print the compiler flags that are necessary to compile a program using the specified library. --libs Print the linker flags that are necessary to link with the specified library. --exec-prefix=diIf specified, use dir instead of the installation exec prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --help Print a usage summary. --prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This option is also used for the exec prefix, if the --exec-prefix option is not specified. --use-service=seIfispecified, provide additional flags (if any) for using the specified service. Known values for service are: module Cos- Naming, interfaces LNameComponent, LName. --version Print the currently installed version of the library on the standard output. OPERANDS
The following operands are supported: client Used when compiling an orbit2 client. server Used when compiling an orbit2 server. EXAMPLES
Example 1: Getting the orbit2 library version example% orbit2-config --version Example 2: Determining the libraries required to link with the orbit2 library example% orbit2-config --libs EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/orbit2-config Executable for the orbit2 helper script ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-component-devel | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
pkg-config(1), libORBit-2(1) NOTES
This man page was originally written by Chris Waters (xtifr@debian.org) for Debian GNU/Linux. Updated by Dick Porter (dick@acm.org) and Elliot Lee (sopwith@redhat.com). Updated by Brian Cameron, Sun Microsystems, 2003. SunOS 5.10 11 Jan 2003 orbit2-config(1)
All times are GMT -4. The time now is 05:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy