Front page | perl.perl5.porters |
Postings from May 2010
ANSI requirement
Thread Next
From:
H.Merijn Brand
Date:
May 31, 2010 05:01
Subject:
ANSI requirement
Message ID:
20100531140130.3096ce39@pc09.procura.nl
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 (http://gcc.gnu.org/c99status.html).
http://en.wikipedia.org/wiki/ANSI_C
--8<---
C89
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).
C90
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.
C99
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.
-->8---
diff --git a/INSTALL b/INSTALL
index b0c31eb..8f09a7e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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 http://tux.nl Perl Monger http://amsterdam.pm.org/
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.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Next
-
ANSI requirement
by H.Merijn Brand