Hi Dave
I tried development perl 5.9.1. After configuation, I still got 37 occurances
of <command> and <built-in> after the make depend completed. After the edit, I ran
make. I got futher by one module. Here is a snippet of the make log for perly.o and
for the next program build that fails...( op.o ).
Thanks for your suggestion. Using the gcc for OMVS to build perl is going to be
difficult.
Gary Rupp
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for s390-ibm-os390
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `miniperl' does not exist.
Prerequisite `perly.y' is newer than target `perly.h'.
Must remake target `perly.h'.
Successfully remade target file `perly.h'.
File `libperl.a' does not exist.
File `perly.o' does not exist.
Must remake target `perly.o'.
`sh cflags "optimize=''" perly.o` perly.c
CCCMD = gcc -DPERL_CORE -c -W 0,float(ieee) -Wall
gcc: 0,float(ieee): EDC5129I No such file or directory.
make: *** �perly.o� Error 1
UEHR:/u/uehr/perl-5.9.1:>ls *.o
gv.o miniperlmain.o perl.o perly.o toke.o
UEHR:/u/uehr/perl-5.9.1:>make --debug
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for s390-ibm-os390
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `miniperl' does not exist.
Prerequisite `perly.y' is newer than target `perly.h'.
Must remake target `perly.h'.
Successfully remade target file `perly.h'.
File `libperl.a' does not exist.
File `op.o' does not exist.
Must remake target `op.o'.
`sh cflags "optimize=''" op.o` op.c
CCCMD = gcc -DPERL_CORE -c -W 0,float(ieee) -Wall
gcc: 0,float(ieee): EDC5129I No such file or directory.
op.c: In function `Perl_allocmy':
op.c:180: warning: implicit declaration of function `Perl_ebcdic_control'
op.c: In function `S_newDEFSVOP':
op.c:1812: warning: comparison between signed and unsigned
op.c: In function `Perl_newLOOPOP':
op.c:3565: warning: unused parameter `debuggable'
op.c: In function `Perl_newWHILEOP':
op.c:3624: warning: unused parameter `debuggable'
===>
op.c: In function `Perl_newFOROP':
op.c:3750: warning: comparison between signed and unsigned
op.c: In function `Perl_newMYSUB':
op.c:4026: warning: unused parameter `floor'
op.c: In function `Perl_ck_grep':
op.c:5449: warning: comparison between signed and unsigned
op.c: In function `Perl_ck_defined':
op.c:5530: internal error--no jump follows compare:
(insn 113 220 231 (set (cc0)
(compare (reg:SI 2 2)
(reg:SI 1 1))) 7 {cmpsi} (nil)
(nil))
op.c:5530: Internal compiler error in unsigned_jump_follows_p, at config/i370/i3
70.c:1135
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** �op.o� Error 1
-----Original Message-----
From: Dave Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 19, 2004 4:13 AM
To: [EMAIL PROTECTED]; Rupp, Gary
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Install perl 5.8.4 on os/390 uss with GCC 3.2
> 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 ???
Hi Gary.
You may be interested to know that in the development branch of Perl (currently at
5.9.1), the perly.y side of things has been completely overhauled, in such a way that
it no longer requires users on EBCDIC systems to install bison to build perl itself (I
believe it's still needed to build the s2p binary). However, these changes haven't yet
been integrated back into the 5.8.x branch, since they haven't yet been tested on an
EBCDIC system!
So if you are feeling keen, you might want to try downloading and installing 5.9.1
(http://www.cpan.org/pub/CPAN/src/perl-5.9.1.tar.gz)
and let us know how you get on.
Dave.
--
The optimist believes that he lives in the best of all possible worlds. As does the
pessimist.