trying to get perl running on hp9000

Syd Weinstein syd at dsinc.UUCP
Wed Aug 3 12:06:13 AEST 1988


In article <12082 at ncoast.UUCP> allbery at ncoast.UUCP (Brandon S. Allbery) writes:
:As quoted from <2105 at mhres.mh.nl> by jv at mhres.mh.nl (Johan Vromans):
:| It seems that this version of the C-compiler does not handle the following
:| construct correctly:
:| 
:| 	(double) (d_var1 rel-op d_var2)
:| 
:| whre rel-op is one of ==, !=, <, >, <= or >= .
:+---------------
:
:Gee, that sounds familiar!  Plexus Sys3 3.31 cc has either the same or a
:very similar bug.  (To be specific, our cc seems to act as if == != < > >=
:<= && || ! returned some kind of special type which is automatically
:promoted to (int) if necessary, but never to (double) or any other type;
:and the "if" and "while" statements not only expect this type, but they also
:only cast from (int) properly if the value is 0 or 1!  (Talk about screwy
:compilers!
:Does Plexus System V cc have that bug fixed, or should we contemplate
:something else for ncoast?

Perl works fine on Plexus System V, as we run it here.  I guess they
fixed that problem.  Actually, Plexus didnt write their own compiler,
but used the portable C compiler from AT&T.  The Sys3 and Sys5 compilers
are very different.  Also, green hills C does fine on Perl.

-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP
Datacomp Systems, Inc.				Voice: (215) 947-9900
{allegra,bellcore,bpa,vu-vlsi}!dsinc!syd	FAX:   (215) 938-0235



More information about the Comp.sources.bugs mailing list