develooper Front page | perl.perl5.porters | Postings from March 2013

converting z/OS Perl build to use xlc instead of c89

Thread Previous | Thread Next
From:
John Goodyear
Date:
March 25, 2013 21:51
Subject:
converting z/OS Perl build to use xlc instead of c89
Message ID:
OF9C728CFF.52718423-ON85257B39.0076DF10-85257B39.007808F7@us.ibm.com


To get the initial builds of Perl on z/OS to work, I've had to put some
temporary hacks into the Configure script so that some of the compiler
tests get the proper answer.

The main problem is that c89 requires the use of parenthesis for some of
the options.  i.e.: langlvl(longlong).   The Configure script does not
handle cflags in the same manner that makes it easy to keep the shell and
c89 happy when the flags are passed to the compiler.

Since the xlc compiler was released with z/OS 1.6  (~10 years ago?), it
seems reasonable to update the make process to use xlc.   This will be my
plan, unless any of the current z/OS Perl users have a good reason not to.


John Goodyear
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About