tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Compiling Drivers
@ 1998-08-29 14:51 Charles M. Richmond
  0 siblings, 0 replies; only message in thread
From: Charles M. Richmond @ 1998-08-29 14:51 UTC (permalink / raw)
  To: tru64-unix-managers

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                                  *
*****************************************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-29 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-29 14:51 SUMMARY: Compiling Drivers Charles M. Richmond

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