🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.hp.hpux
5 messages
5 total messages Started by Steve Emmerson Wed, 13 Mar 1996 15:42
RFI: meaning of -Ae option of HP-UX's c89(1)
#39
Author: Steve Emmerson
Date: Wed, 13 Mar 1996 15:42
16 lines
833 bytes
Hi,

If you know the meaning of the `-Ae' option of HP-UX's c89(1) compiler,
I would appreciate hearing from you.  This option isn't documented in
the manual page.

Here's my system:

    HP-UX xxxxx A.09.05 A 9000/715 2010262449 two-user license

Please respond via email as I don't normally read this newsgroup.

Thanks.
--

Steve Emmerson        steve@unidata.ucar.edu        ...!ncar!unidata!steve
Re: RFI: meaning of -Ae option of HP-UX's c89(1)
#40
Author: Ron Natalie
Date: Wed, 13 Mar 1996 17:49
21 lines
1418 bytes
Steve Emmerson (steve@unidata.ucar.edu) wrote:

: If you know the meaning of the `-Ae' option of HP-UX's c89(1) compiler,
: I would appreciate hearing from you.  This option isn't documented in
: the manual page.

: Here's my system:

:     HP-UX xxxxx A.09.05 A 9000/715 2010262449 two-user license

: Please respond via email as I don't normally read this newsgroup.

If you pick up the compiler patch off of "support.mayfield.hp.com" it
comes with a new manual page:

          -Ae               Extended ANSI mode.  Same as -D_HPUX_SOURCE and
                             -Aa and allows the following extensions: $
                             characters can appear in identifier names, and
                             enum declarations can include integral type
                             specifiers.  Additional extensions may be added
                             to this option in the future.
Re: RFI: meaning of -Ae option of HP-UX's c89(1)
#41
Author: ken
Date: Wed, 13 Mar 1996 21:36
40 lines
2186 bytes
Steve Emmerson (steve@unidata.ucar.edu) wrote:
> Hi,

> If you know the meaning of the `-Ae' option of HP-UX's c89(1) compiler,
> I would appreciate hearing from you.  This option isn't documented in
> the manual page.

> Here's my system:

>     HP-UX xxxxx A.09.05 A 9000/715 2010262449 two-user license

From the manual page

      -Amode         Specify the compilation standard to be used by the
                     compiler.  mode can be one of the following letters:


-------------------------8<------------------------------------------

                        e    Extended ANSI mode.  Same as -Aa -D_HPUX_SOURCE
                             +e. This would define the names (macros and
                             typedefs) provided by the HPUX Operating System
                             and, in addition, allow the following
                             extensions: $ characters in identifier names,
                             sized enums, sized bit-fields, and 64-bit
                             integral type long long. Additional extensions
                             may be added to this option in the future.


	Basicaly if you use -Aa to get ANSI C then you get just ANSI C
	and no access to normal Unix features. by using various -D
	options you can select the standard you would like to conform
	to. -D_HPUX_SOURCE allows access to the full range of features.
	-Ae is a quicker way to get this.


-- 
__________________email Ken.Green@kgcc.demon.co.uk _____________________
Ken Green Computer Consultancy  
		  22 Matthews Chase, Binfield, Berkshire, RG42 4UR.  U.K.
Re: RFI: meaning of -Ae option of HP-UX's c89(1)
#42
Author: Stephen Baynes
Date: Fri, 15 Mar 1996 08:18
26 lines
1561 bytes
Note inappropriate cross posting to comp.std.c removed.

Steve Emmerson (steve@unidata.ucar.edu) wrote:
: Hi,

: If you know the meaning of the `-Ae' option of HP-UX's c89(1) compiler,
: I would appreciate hearing from you.  This option isn't documented in
: the manual page.

: Here's my system:

:     HP-UX xxxxx A.09.05 A 9000/715 2010262449 two-user license

c89 does not recognize the -Ae option. However cc does. It means
enable some HP-UX specific extensions to the compiler. These are
to define _HPUX_SOURCE to see all HPUX supported functions and to
add some language extensions. They only one I can remember is 'short enum'.
Judging by the fact it is not documented in the latest man pages makes me
think it is an option for which support is being removed.

--
Stephen Baynes                              baynes@ukpsshp1.serigate.philips.nl
Philips Semiconductors Ltd
Southampton                                 My views are my own.
United Kingdom
Re: RFI: meaning of -Ae option of HP-UX's c89(1)
#43
Author: GT Cherer
Date: Sat, 16 Mar 1996 04:08
14 lines
1099 bytes
dude-
the previous posters were right about including HP SOURCE stuff, but what 
you may want to do is futz around in your include directories to find out 
what THAT means. On my system (similar to yours) it means POSIX 
compliance ramifications. 
Personally, I find the Ae the way to go to be most inclusive of all 
options and services. Don't forget to strip when you're ready for 
production. 

--
G.T. Jeff Cherer gcherer@texas.net
Voice: 210-532-7524 SnailMail: 1132 Vanderbilt St. 78210
"This is the true joy in life, being used for a purpose recognized
by yourself as a mighty one." GB Shaw
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads