develooper Front page | perl.perl5.porters | Postings from May 2010

ANSI requirement

Thread Next
H.Merijn Brand
May 31, 2010 05:01
ANSI requirement
Message ID:
perl, mostly written in C, requires an ANSI C-compiler. Everybody knows
that, and Configure does some basic checks. This however is not
documented at all (give or take some specific problem descriptions one
might encounter if the compiler is not ANSI compliant).

I'd suggest the following change. Any objections?

Note that even if C89 is from back in 1983! C99 (from 2000) is not
fully supported by most compilers yet (

In 1983, the American National Standards Institute formed a committee,
X3J11, to establish a standard specification of C. After a long and
arduous process, the standard was completed in 1989 and ratified as
ANSI X3.159-1989 "Programming Language C." This version of the language
is often referred to as "ANSI C", or sometimes "C89" (to distinguish it
from C99).


In 1990, the ANSI C standard (with a few minor modifications) was
adopted by the International Organization for Standardization as
ISO/IEC 9899:1990. This version is sometimes called C90. Therefore,
the terms "C89" and "C90" refer to essentially the same language.

Main article: C99

In March 2000, ANSI adopted the ISO/IEC 9899:1999 standard. This
standard is commonly referred to as C99, and it is the current standard
for C programming language.

diff --git a/INSTALL b/INSTALL
index b0c31eb..8f09a7e 100644
@@ -36,6 +36,11 @@ any prefix location by adding "-Dprefix='/some/dir'" to Configure's args.
 To explicitly name the perl binary, use the command
 "make install PERLNAME=myperl".

+Building perl from source requires an ANSI compliant C-Compiler.
+A minimum of C89 is required. Some features available in C99 will
+be probed for and used when found. The perl build process does not
+rely on anything more than C89.
 These options, and many more, are explained in further detail below.

 If you have problems, corrections, or questions, please see

H.Merijn Brand      Perl Monger
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. 

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About