From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,83b75bc20de89334 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-12 11:43:19 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!get.hooked.net!decwrl!hookup!swrinde!gatech!howland.reston.ans.net!spool.mu.edu!torn!news.unb.ca!mta.ca!bbq.mta.ca!pcrawshaw From: pcrawshaw@mta.ca (Peter Crawshaw) Subject: Re: perl for alpha Message-ID: Sender: news@mta.ca (USENET News System) Nntp-Posting-Host: bbq.mta.ca Organization: Mount Allison University X-Newsreader: Trumpet for Windows [Version 1.0 Rev B] References: <2q35rl$5cq@miracle.falconmicro.com> <2qnntr$pn8@wega.rz.uni-ulm.de> Date: Thu, 12 May 1994 06:27:07 GMT 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> >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