← Back to context

Comment by pjmlp

10 months ago

Are you sure?

https://pubs.opengroup.org/onlinepubs/9799919799/nframe.html

https://pubs.opengroup.org/onlinepubs/9699919799.2018edition...

https://pubs.opengroup.org/onlinepubs/015967575/toc.htm

And copying this from UNIX 03, the most widespread certification,

"A single configuration of the system shall meet all of the conformance requirements defined in the following mandatory Product Standards:

    Internationalized System Calls and Libraries Extended V3

    Commands and Utilities V4

    C Language V2

    Internationalized Terminal Interfaces

The product must be registered as conformant to the Product Standards prior to, or concurrent with, the UNIX 03 Product Standard registration."

Depends on exact level of conformance and options chosen:

From POSIX 2017 edition https://pubs.opengroup.org/onlinepubs/9699919799.2018edition...

> On systems providing POSIX Conformance (see XBD Conformance), c99 is required only with the C-Language Development option; XSI-conformant systems always provide c99.

If XSI conformance is not asserted, only requirement is that C APIs and runtime libs for use by C programs exist on the system, and presence of C compiler is optional,

2017 POSIX had done away with including Fortran 77 in the same category as C, only providing an option for Fortran runtime libs but no longer specifying a Fortran development environment.

Also, I do not have relevant systems on hands to check, but as far as I know multiple Unix systems including behemoths like SunOS/Solaris shipped as POSIX compliant without C compiler.

  • Ok, but that is the split certification due to the way Sun started to introduce on UNIX world the SDK concept, where customers had to additionally pay for the development tools, the UNIX version of UNIX Home and UNIX Pro editions.

    Naturally UNIX Home users are also using a UNIX, and UNIX Pro, users have anyway a C compiler.

    Also to note, exactly because nothing else is required, there used to be UNIX vendors, like Sun, that only included C and C++ on their base SDK. Fortran and Ada compilers were additional products to acquire on top of the SDK. Naturally most folks didn't even bother.