Article View: news.software.nn
Article #5115Re: nn on alpha is fine now
From: Sebastian Meyer
Date: Fri, 26 Nov 1993 15:05
Date: Fri, 26 Nov 1993 15:05
68 lines
3533 bytes
3533 bytes
Here is what finally made nn-6.4.18 run happily on our Alphas.
Thanks to Klas Mellbourn <kam@vanosf.physto.se>, who answered my request
to the alpha-osf-managers@ornl.gov mailing list.
>=========== m-decaxp.h ==============
/******* Machine (and compiler) dependent definitions. *********
*
* This is the nn conf file: m-decaxp.h
* For Digital Equipment Corp.: Alpha AXP computers
*
* Created by: Donald S. Teiser 09/21/93
* System Programmer
* University of Louisville
* Louisville, KY, USA 40292
* dsteis01@homer.louisville.edu
***************************************************************/
/* MACHINE TYPE DEFINED TYPE VALUE RANGE */
typedef unsigned char int8; /* 0 .. 255 */
typedef short int int16; /* -10,000 .. 10,000 */
typedef int int32; /* -100,000 .. 100,000 */
typedef unsigned int uint32; /* 0 .. 2^31-1 */
/* Here comes Sebastian Meyer's code: meyer@sirius.physik.fu-berlin.de */
#ifdef NETWORK_DATABASE
#ifndef NETWORK_BYTE_ORDER
/*
* Alpha is NOT network-byte-order
*/
#include <netinet/in.h>
/*
* This one includes <machine/endian.h>
* which has the #defines for ntohl(x) and htonl(x)
*/
#endif /* not NETWORK BYTE ORDER */
#endif /* NETWORK DATABASE */
/*********** end of the file: m-decaxp.h ****************/
============== s-decosf.h =================
/*********** Operating system dependent definitions. ***********
*
* This is the nn conf file: s-decosf.h
* For Digital Equipment Corp.: OSF/1 version 1.3
*
* Created by Sebastian Meyer <meyer@sirius.physik.fu-berlin.de>,
* according to Klas Mellbourn <kam@vanosf.physto.se>
***************************************************************/
#include "s-sys5-tcap.h"
#define EXTRA_LIB -lbsd
/*********** end of the file: s-decosf.h ****************/
--
__o Sebastian Meyer Tel: 030/838-5181| FU Berlin, Physik
_ \<,_ meyer@sirius.physik.fu-berlin.de | Arnimallee 14 [Raum 1.3.35]
(_)/ (_) bastel@zaphod.physik.fu-berlin.de | D-14195 Berlin
~~~~~~~~~~~~~~~~~ "This is a signature against racism" ~~~~~~~~~~~~~~~~~~~~~~~
--
__o Sebastian Meyer Tel: 030/838-5181| FU Berlin, Physik
_ \<,_ meyer@risc4.physik.fu-berlin.de | Arnimallee 14 [Raum 1.3.35]
(_)/ (_) bastel@zaphod.physik.fu-berlin.de | D-14195 Berlin
~~~~~~~~~~~~~~~~~ "This is a signature against racism" ~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID:
<72IJBBSU@math.fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!math.fu-berlin.de!risc4!meyerReferences:
<1993Nov23.012725.16278@MITL.Research.Panasonic.COM> <8HFJBS6W@math.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <72IJBBSU@math.fu-berlin.de> Subject: Re: nn on alpha is fine now Date: Fri, 26 Nov 1993 15:05:33 GMT From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer) References: <1993Nov23.012725.16278@MITL.Research.Panasonic.COM> <8HFJBS6W@math.fu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!math.fu-berlin.de!risc4!meyer Newsgroups: news.software.nn,comp.unix.osf.osf1 Sender: news@math.fu-berlin.de (Math Department) Nntp-Posting-Host: risc4.physik.fu-berlin.de Organization: Free University of Berlin, Germany Lines: 67