[comp.unix.aix] Basic Question

gnf3e@uvacs.cs.Virginia.EDU (Greg Fife) (03/28/90)

Is AIX POSIX-compliant?  Is the AIX compiler ANSI standard?  If
so, for which versions?  If not, when?

                             Greg Fife
                             gnf3e@virginia.edu
                             uunet!virginia!uvacs!gnf3e

mbrown@osf.org (Mark Brown) (03/29/90)

In article <1160@ra.cs.Virginia.EDU>, gnf3e@uvacs.cs.Virginia.EDU (Greg
Fife) writes:
> Is AIX POSIX-compliant?  Is the AIX compiler ANSI standard?  If
> so, for which versions?  If not, when?
> 

Simple Answer: Yes.

Complex Answer:

AIXv3 will, as (the currently planned, I've been away for three months)
default, provide an SysV.2/BSD4.3 namespace in its libc and include files.

  By use of Feature Test Macros (compiler flags, -D) one can restrict the
namespace to XPG3, POSIX, or ANSI levels (progressively more restrictive).

The compiler will as (currently planned) default accept BOTH 'Classic' and
'ANSI' constructs, working in a 'Classic' manner. A flag will convert it
to ANSI C mode. This flag is SEPARATE from the namespace flags listed
above.

AIXv1, AIXv2, and the PS/2 version of AIXv2: No, sorry, they came out before 
the standards did.

Mark Brown   IBM AWD / OSF  | The effort of using machines to mimic the
The Good     mbrown@osf.org | human mind has always struck me as rather silly.
The Bad     uunet!osf!mbrown| I would rather use them to mimic something
The Ugly     (617) 621-8981 | better.       --Edsger Dijkstra

jerry@heyman.austin.ibm.com (Jerrold Heyman) (03/29/90)

In article <1160@ra.cs.Virginia.EDU> gnf3e@Virginia.EDU (Greg Fife) writes:
>Is AIX POSIX-compliant? 

AIX/RT is not.  AIX PS/2 (1.1) is not - not positive about AIX PS/2 1.2
AIX v3 on Risc System/6000 conforms to POSIX 1003.1

> Is the AIX compiler ANSI standard?

AIX v3 is ANSI C compliant.  AIX/RT is not, not sure about AIX PS/2.

>  If so, for which versions?  If not, when?

AIX v3 will be compliant with POSIX 1003.1.  The C compiler available on AIX
v3 is ANSI compliant.  AIX v3 is the operating system for the Risc System/6000.

>
>                             Greg Fife
>                             gnf3e@virginia.edu
>                             uunet!virginia!uvacs!gnf3e

Jerry Heyman                 IBM AWD, Austin