1832764 Members
3036 Online
110045 Solutions
New Discussion

C Compiler

 
tarek_3
Frequent Advisor

C Compiler

Hi
i am trying to write a c progam on my itanium server (hp-ux 11.23)
when i try to compile the program i receive the following error (C compiler version 5.0):


1-(Bundled) cc: warning 922: "-b" is unsupported in the bundled
compiler,
ignored.
2-(Bundled) cc: warning 922: "-Ae" is unsupported in the bundled
compiler,
ignored.
3- (Bundled) cc: warning 922: "+u4" is unsupported in the bundled
compiler,
ignored.



is there any path that can solve this problem ?
Regards
Hassoun
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: C Compiler

The bundled c compiler that is included with HP-UX is a stripped down version that is of limited usefulness - primarily it's used to build the kernel. You either need to purchase HP's full fledged C compiler or download and install gcc:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.0.1/


Pete

Pete
Stephen Keane
Honored Contributor

Re: C Compiler

Do you have aCC installed? If you do, you need to check your path because from the errors you are getting, you appear to be running the built in basic C compiler, which doesn't understand the same options as aCC.
Rainer von Bongartz
Honored Contributor

Re: C Compiler

you are compiling with the bundled C-Compiler.

To use all compiler features you will need to buy the HP ANSI-C compiler or use GNU's gcc.

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...