![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to compile from source code? | wrapster | UNIX and Linux Applications | 1 | 05-27-2008 04:03 PM |
| Still unable to compile pro*c program | satvd | Shell Programming and Scripting | 1 | 05-20-2008 09:47 AM |
| Convert file from Unix - ANSI to PC - ANSI | ssmallya | Shell Programming and Scripting | 0 | 02-05-2008 06:07 AM |
| Unable to compile the c programme in unix | vasudeva | UNIX for Dummies Questions & Answers | 10 | 12-01-2006 04:58 PM |
| Compile a code for running on boot | d4n1l0d | Filesystems, Disks and Memory | 2 | 08-14-2006 02:44 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 line for compling my code?? Thanx in advance, JP |
|
||||
|
I think if you want to compile with Ansi C, then there is a compiler aCC... just type the following in the prompt....
$>type aCC if you are able to get the path, then $><PATH> <filename>.C and it will compile the way u want also if u could give the program, probably could find the actual reason such an error |
|
||||
|
I am using an aCC-1.23 compiler for compiling this code. Still is doesnt help much. An the code I am try to compile is the GDB source downloaded from GNU site for HP-UX. So, I dont expect errors in the code either.
|
|
|||||
|
In my experience the HP compilers are pretty worthless. Download and install the HP-UX version of gcc from here:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/ |
| Sponsored Links | ||
|
|