Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: nn on alpha
       [not found] <1993Nov23.012725.16278@MITL.Research.Panasonic.COM>
@ 1993-11-23 10:18 ` Sebastian Meyer
  1993-11-26 15:05   ` nn on alpha is fine now Sebastian Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Meyer @ 1993-11-23 10:18 UTC (permalink / raw)


lemke@aleph.Research.Panasonic.COM (Kennedy Lemke) writes:

>Can someone please point me to or email me appropriate m-
>and s- files for nn for a DEC Alpha machine running OSF/1
>version 1.3?  I'm using nn version 6.4.18.  Thanks.

nn is up and running here with one problem remaning: file name expansion
(with [Tab] or ? ) does not work properly. 

m-decaxp.h probably is fine, s-decosf.h needs some adjusting. Come on,
dirent.h-gurus .....

sebastian

(crossposted to  news.software.nn,comp.unix.osf.osf1 )

=========== 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@risc4.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.2  
 *
 *      Created by:     Donald S. Teiser        09/21/93
 *                      System Programmer
 *                      University of Louisville
 *                      Louisville, KY, USA  40292
 *                      dsteis01@homer.louisville.edu
 *
 * modified by Sebastian Meyer <meyer@risc4.physik.fu-berlin.de>,
 *   who is not shure about anything.....
 ***************************************************************/

#include <sys/types.h>
#include <sys/stat.h>

#define TERMLIB -ltermlib
#define HAVE_STRCHR
#define SIGNAL_HANDLERS_ARE_VOID
#define RESET_SIGNAL_WHEN_CAUGHT
/* #define FAKE_INTERRUPT */
#define HAVE_UALARM
/* #undef HAVE_SYSLOG */                                                        
#define HAVE_SYSLOG
#include <dirent.h>
typedef struct dirent Direntry;
#define HAVE_MKDIR
#define HAVE_GETHOSTNAME
#define HAVE_MULTIGROUP
#define DETATCH_TERMINAL
#define SHELL           "/bin/sh"
#define MAILX   "/usr/bin/mailx"
#define FILENAME        256
#define COMPILER_FLAGS -O
#define LOADER_FLAGS -call_shared
#define EXTRA_LIB -lbsd

/*********** end of the file: s-decosf.h ****************/

--
    __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" ~~~~~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nn on alpha is fine now
  1993-11-23 10:18 ` nn on alpha Sebastian Meyer
@ 1993-11-26 15:05   ` Sebastian Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Meyer @ 1993-11-26 15:05 UTC (permalink / raw)


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" ~~~~~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-11-26 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1993Nov23.012725.16278@MITL.Research.Panasonic.COM>
1993-11-23 10:18 ` nn on alpha Sebastian Meyer
1993-11-26 15:05   ` nn on alpha is fine now Sebastian Meyer

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