Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pcrawshaw@mta.ca (Peter Crawshaw)
Subject: Re: perl for alpha
Date: Thu, 12 May 1994 06:27:07 GMT	[thread overview]
Message-ID: <pcrawshaw.243.08422582@mta.ca> (raw)
In-Reply-To: 2qnntr$pn8@wega.rz.uni-ulm.de

In article <2qnntr$pn8@wega.rz.uni-ulm.de> s_zimmer@rz.uni-ulm.de (Walter Zimmer) writes:
>Path: mta.ca!news.unb.ca!upei.ca!coranto.ucs.mun.ca!nstn.ns.ca!news.cs.indiana.edu!sdd.hp.com!usc!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!tiger.rz.uni-ulm.de!s_zimmer
>From: s_zimmer@rz.uni-ulm.de (Walter Zimmer)
>Newsgroups: comp.unix.osf.osf1
>Subject: Re: perl for alpha
>Date: 10 May 1994 10:33:31 GMT
>Organization: University of Ulm, Germany
>Lines: 11
>Message-ID: <2qnntr$pn8@wega.rz.uni-ulm.de>
>References: <2q35rl$5cq@miracle.falconmicro.com> <pcrawshaw.227.0006C7EE@mta.ca>
>NNTP-Posting-Host: tiger.rz.uni-ulm.de
>X-Newsreader: TIN [version 1.2 PL2]


>: I've compiled perl 4.036 for OSF/1 1.3 without any problems.  If you like, 
>: I'll tar it up and put it up for anonymous ftp.

>: - Peter

>perhaps you could post (or email us) the hacks you did in 'Configure' ?

Actually, I think Configure went very smoothly.  I did however apply the 
following patch.  It was posted to this group a month or so ago.  Sorry, I 
don't know who posted it as I don't have the original message.
Good luck

---- cut here ----
*** perl.h.orig	Thu Oct 07 10:02:39 1993
--- perl.h	Thu Oct 07 09:49:34 1993
***************
*** 684,690 ****
--- 684,694 ----
  #ifdef CASTNEGFLOAT
  #define U_S(what) ((unsigned short)(what))
  #define U_I(what) ((unsigned int)(what))
+ # ifndef __alpha
  #define U_L(what) ((unsigned long)(what))
+ # else
+ #    define U_L(what) ((unsigned int)(what))
+ # endif
  #else
  unsigned long castulong();
  #define U_S(what) ((unsigned int)castulong(what))
***************
*** 1029,1035 ****
--- 1033,1043 ----
  #ifndef STANDARD_C
  /* All of these are in stdlib.h or time.h for ANSI C */
  double atof();
+ #ifdef __alpha
+ time_t time();
+ #else
  long time();
+ #endif
  struct tm *gmtime(), *localtime();
  char *index(), *rindex();
  char *strcpy(), *strcat();
---- cut here ----


============================================================
Peter Crawshaw                      Mount Allison University
Dept. of Math/Computer Science      Sackville, NB, Canada
pcrawshaw@mta.ca                    E0A 3C0


      reply	other threads:[~1994-05-12  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-02 15:22 perl for alpha G. Bongers
1994-05-02 19:22 ` Robert Williams
1994-05-04  7:24 ` Peter Crawshaw
1994-05-10 10:33   ` Walter Zimmer
1994-05-12  6:27     ` Peter Crawshaw [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox