tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Charles M. Richmond" <cmr () iisc ! com>
To: tru64-unix-managers
Subject: SUMMARY:  Compiling Drivers
Date: Sat, 29 Aug 1998 14:51:10 +0000	[thread overview]
Message-ID: <96078718212035.tru64-unix-managers.marc@archive.invalid> (raw)

Original question:

> I am trying to compile a driver for DUNIX 4.0D and if I do not
> specify "-DKERNEL" then the MALLOC macro definitions don't work
> and if I do define KERNEL then the cc tries to include the security
> include files and fails to find sec_base.h and others sec*.h files that
> do not exist on this system.

There were no answers from the group, but I determined on my own that the
following works:

cc  -c -O2   -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include 
-DIDENT=*CONFIGFILE* -DDEC4100 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH 
-DUFS -DATM -DFFM_FS -DRT_SEM -DKERNEL -D_KERNEL -D_BSD 
-signed -Wg,-w2  -compress -MD -no_excpt -Wg,-unroll,1 
-Wb,-static -Wco,-nofloat -Olimit 3000 -D__alpha -Umips -UMIPS -c

The "*CONFIGFILE*" should be the name of your config file and the "DEC4100"
should be replaced with your machine type.

---
*****************************************************************************
*  Charles Richmond 	Integrated International Systems Corporation        *
*	  cmr@iisc.com	cmr@koibito.iisc.com  cmr@shore.net		    *
*  Specializing in UNIX, X, Image Processing, and Communications.           *
*  One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431            *
*  (617) 367 3151	FAX (617) 723 6861                                  *
*****************************************************************************

                 reply	other threads:[~1998-08-29 14:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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