🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.mach
Article #908

Re: Mach 3.0: what's missing?

#908
From: Steve Bleazard
Date: Tue, 26 Mar 1991 09:07
105 lines
3916 bytes
jds@cs.umd.edu (James da Silva) writes:
> Has anyone
> done this successfully, and if so, are you willing to post your diffs?  It
> would save a fair amount of duplicated busy work by others.
> 
Here are the Modifications required to conf/Makefile.template to make
it work with GNU make 3.59. GNU make 3.59 is required for the NOEXPORT hack to
work, and NOEXPORT is required on some systems as the arglist + enviroment
can exceed the xxK arbitrary limit.

------------------------------ Cut Here ------------------------------
***************
*** 453,459 ****
  MIGKUFLAGS = $(MIGFLAGS) -DKERNEL_USER
  
  MIGDEPS = ../bin/mig ../lib/migcom
! MIG = PATH=../bin:$$PATH LPATH=../lib:$$LPATH mig
  
  MACHDIR = mach/
  
--- 453,459 ----
  MIGKUFLAGS = $(MIGFLAGS) -DKERNEL_USER
  
  MIGDEPS = ../bin/mig ../lib/migcom
! MIG = PATH=../bin:../lib:$$PATH mig -I. -I.. 
  
  MACHDIR = mach/
  
***************
*** 463,469 ****
  	memory_object_data_provided memory_object_data_unavailable \
  	memory_object_data_error memory_object_set_attributes
  
! MACH_FFILES = $(MACH_FUNCS/$(REG_EXP)/$(MACHDIR)&.c)
  
  MACH_FILES = mach/mach_interface.h mach/mach_user_internal.h \
  	mach/mach_server.c $(MACH_FFILES)
--- 463,469 ----
  	memory_object_data_provided memory_object_data_unavailable \
  	memory_object_data_error memory_object_set_attributes
  
! MACH_FFILES = $(patsubst %,%.c,$(MACH_FUNCS))
  
  MACH_FILES = mach/mach_interface.h mach/mach_user_internal.h \
  	mach/mach_server.c $(MACH_FFILES)
***************
*** 475,481 ****
  MACH_PORT_FUNCS = mach_port_allocate mach_port_destroy \
  	mach_port_insert_right mach_port_move_member
  
! MACH_PORT_FFILES = $(MACH_PORT_FUNCS/$(REG_EXP)/$(MACHDIR)&.c)
  
  MACH_PORT_FILES = mach/mach_port_interface.h mach/mach_port_internal.h \
  	mach/mach_port_server.c $(MACH_PORT_FFILES)
--- 475,481 ----
  MACH_PORT_FUNCS = mach_port_allocate mach_port_destroy \
  	mach_port_insert_right mach_port_move_member
  
! MACH_PORT_FFILES = $(patsubst %,%.c,$(MACH_PORT_FUNCS))
  
  MACH_PORT_FILES = mach/mach_port_interface.h mach/mach_port_internal.h \
  	mach/mach_port_server.c $(MACH_PORT_FFILES)
***************
*** 547,555 ****
  	-$(MAKE_MACH)
  	$(MIG) -MD $(MIGFLAGS) -header /dev/null -user /dev/null -server mach/default_pager_object_server.c $(SOURCE_DIR)/mach/default_pager_object.defs
  
! LIBMIG_OBJS = $(MACH_FUNCS/$(REG_EXP)/&.o) $(MACH_PORT_FUNCS/$(REG_EXP)/&.o)
  
! $(LIBMIG_OBJS): mach/$$(@:r).c
  	$(KCC) -c $(CFLAGS) mach/$*.c
  
  libmig.a:	$(LIBMIG_OBJS)
--- 547,556 ----
  	-$(MAKE_MACH)
  	$(MIG) -MD $(MIGFLAGS) -header /dev/null -user /dev/null -server mach/default_pager_object_server.c $(SOURCE_DIR)/mach/default_pager_object.defs
  
! LIBMIG_OBJS = $(patsubst %,%.o,$(MACH_FUNCS)) \
! 	      $(patsubst %,%.o,$(MACH_PORT_FUNCS))
  
! $(LIBMIG_OBJS): %.o: mach/%.c
  	$(KCC) -c $(CFLAGS) mach/$*.c
  
  libmig.a:	$(LIBMIG_OBJS)
***************
*** 634,637 ****
  
  %RULES
  
! -include Makedep
--- 635,642 ----
  
  %RULES
  
! #include Makedep
! 
! .NOEXPORT:
! 
! #
------------------------------ Cut Here ------------------------------
-- 
Steve.Bleazard@RoboBar.Co.Uk        | Phone:  +44 81 991 1142 x153
Snr Software Engineer, Robobar Ltd. | Fax:    +44 81 998 8343 (G3)
22 Wadsworth Road, Perivale.        |
Middx., UB6 7JD ENGLAND.            | ...!ukc!robobar!steve
Technical Details
Message-ID: <1991Mar26.090720.20746@robobar.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!mcsun!ukc!stl!robobar!steve
References: <3444@engadm3.csd.mot.com> <31910@mimsy.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!mcsun!ukc!stl!robobar!steve
From: steve@robobar.co.uk (Steve Bleazard)
Newsgroups: comp.os.mach
Subject: Re: Mach 3.0: what's missing?
Keywords: micro-kernel hackers kit
Message-ID: <1991Mar26.090720.20746@robobar.co.uk>
Date: 26 Mar 91 09:07:20 GMT
References: <3444@engadm3.csd.mot.com> <31910@mimsy.umd.edu>
Organization: Robobar Ltd., Perivale, Middx., ENGLAND.
Lines: 105