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
John Goodyear
March 25, 2013 21:51
converting z/OS Perl build to use xlc instead of c89
Message ID:

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About