From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718212035.tru64-unix-managers.marc@archive.invalid> From: "Charles M. Richmond" Date: Sat, 29 Aug 1998 14:51:10 +0000 To: tru64-unix-managers Subject: SUMMARY: Compiling Drivers X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718212035 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 * *****************************************************************************