Thanks Martin. It did work after adding '-Aa' option.
Thanks once again
Kumar
> -----Original Message-----
> From: Martin Simmons [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 2:28 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Building Xbae libraries on HP10.20
>
>
> >>>>> On Tue, 1 May 2001 09:54:21 -0400 , "Dhanapalan, Kumar"
> <[EMAIL PROTECTED]> said:
>
> Kumar> Would you please help me with the following:
>
> Kumar> 1) How do I manually turn on the ANSI compatiable
> mode of cc, so that I can
> Kumar> build this library on a HP10.20 system.
>
> Use the -Aa option, though I'm not sure if HP-UX 10.20 ships
> with an ANSI C
> compiler (on my machine, /bin/cc is a link to
> /opt/ansic/bin/cc). Certainly
> HP-UX 11 ships with a useless non-ANSI compiler and you have
> to purchase the
> ANSI optimizing compiler separately.
>
> __Martin
>