"Rupp, Gary" <[EMAIL PROTECTED]> wrote on 06/18/2004 10:02:43 AM:

> Hi perl-mvs
>         Its been a while since anyone commented on installing perl 5.8
using
> the Gnu Compiler Collection, GCC 3.2 for USS, provided by David Pitts.
>         I have been somewhat successful using the configure script and
get as
> far as a Make Depend.  After a re-edit of the new makefile where I remove
37
> occurances of 'command line' and ' built-in', I tried running the make
script,
> and have some success building 4 .o files.
> gv.o            miniperlmain.o  perl.o          toke.o
> When make tries to build the perly.o file, where I have followed the
> directions in the hints/os390, and am using bison as my yacc, it cannot
> assemble, and build the load module for perly.o.  I scanned the perl mvs
news
> group and google, and found some discussion about this breaking the perl
build.
>         My question is,
>
>         Is this about as far as one can go, to get perl 5.8.4 built on
OS/390
> USS with GNU GCC 3.2 ???

I doubt that that is as far as you could go.  I suggest that if you
switched
back to IBM supplied OS/390 yacc you could probably get further along.

Ideally editing the Makefile would not be something you should need
to do, rather editing the hints/os390.sh or specifying certain variables
on the command line such as:

   sh Configure -Dcc='gcc [options]'

might eventually prove helpful for others trying to build using GCC.

It has already been mentioned that an overhaul of perly.y is being
carried out in development branches of perl.  The goal there is to
remove the need to use Berkeley byacc and replace it with GNU bison.
Also worth note is that the Siemens BS/2000 EBCDIC OS already runs
perl builds using a port of bison to their Unix environment.  Hence
the eventual use of bison should be possible, but for just getting
started with GCC as your compiler I'd recommend trying to avoid
troubles with another slightl incompatible yacc implementation.

Peter Prymmer

Reply via email to