From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Sep 10 01:41:54 1996
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) id BAA10073
	Tue, 10 Sep 1996 01:41:54 +0900 (JST)
Received: by mail.jp.freebsd.org (8.7.3+2.6Wbeta5/8.7.3) with ESMTP id BAA10068
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 10 Sep 1996 01:41:48 +0900 (JST)
Received: from localhost (localhost.phys.sci.osaka-u.ac.jp [127.0.0.1]) by murase08.phys.sci.osaka-u.ac.jp (8.7.5/3.4W496031809) with ESMTP id BAA24207 for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 10 Sep 1996 01:37:37 +0900 (JST)
Message-Id: <199609091637.BAA24207@murase08.phys.sci.osaka-u.ac.jp>
To: FreeBSD-users-jp@jp.freebsd.org
In-reply-to: Your message of "Mon, 09 Sep 1996 18:03:58 JST."
             <9609090903.AA00930@derrida.psrc.isac.co.jp> 
Date: Tue, 10 Sep 1996 01:37:36 +0900
From: Osamu Matsuda <omatsuda@phys.sci.osaka-u.ac.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 4378
Subject: [FreeBSD-users-jp 4378] Re: Fresco96 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org


$B>>ED!w:eBg$G$9!#(B

$B$*A{$,$;$7$F$*$j$^$9(B Fresco96 $B$N7o$G$9$,!"0J2<$N$h$&$J>u67$G$9!#(B
$B:#$N=j!";d$NNO$G$O$*<j>e$2>uBV$G$9!#2?$+%R%s%H$rD:$1$l$P9,$$$G$9!#(B


#            $BBg:eBg3XM}3XIt(B  $B>>ED(B $BM}(B ($B$*$5$`(B)
#            omatsuda@phys.sci.osaka-u.ac.jp


Fresco96 $B$r(B FreeBSD $B$GF0$+$9L\O@8+(B

$B4D6-(B
  FreeBSD 2.1.0-RELEASE
  XFree86 3.1.2F
  gcc-2.7.2p-pl9

$B;HMQ$7$?%=!<%9(B
  Fresco96.tar.gz  (http://www.faslab.com/fresco$B$+$i$?$I$C$F;}$C$FMh$^(B
                    $B$7$?!#(B)


$B$d$C$F$_$?$3$H(B
1.  $B%=!<%9%D%j!<$N$F$C$Z$s$GE:IU$N(B FreeBSD.diff ($B"((B1) $B$r$"$F$k!#(B
2.  Fresco96/build/X11 $B$G(B make $B$9$k!#(B
3.  Fresco96/tutorial $B$H$$$&%G%#%l%/%H%j$K(B t1-1.cxx ($B"((B2)$B$H$$$&>.$5$J(B
    $B%5%s%W%k%W%m%0%i%`$N%=!<%9$rCV$/!#$3$l$O(B tutorial $B$N:G=i$K(B
    $B$N$C$F$$$k(B hello $B$rI=<($9$k%W%m%0%i%`$G$"$k!#(B
4.  Fresco96/build/X11 $B$K$F(B

    g++ -I ../.. -v -g -L lib -L /usr/local/X11R6/lib \
    -L /usr/local/lib -o t1-1 ../../tutorial/t1-1.cxx \
    -lbase -ldefs -locs  -lX11

    $B$H$d$C$F(B t1-1 $B$r:n@.$9$k!#(B
5.  $B%G%P%C%0%;%C%7%g%s(B($B"((B3)$B$+$i(B fresco_lib.cxx $B$N(B FrescoLib::run $B4X?t(B
    $B$N$*$o$j$N$"$?$j$N(B w->map() $B$,;`$L$3$H$,J,$+$k!#$^$?!"$3$3$G(B
    $B8F$S=P$5$l$k$H;W$o$l$k(B XfWindow::map $B$K$O9T$C$F$$$J$$!#(B
6.  $B$J$s$G$d!A!#(B

$B"((B1----------- Fresco96 $B%=!<%9%D%j!<$K$"$F$?%Q%C%A(B
diff -acr Fresco96.orig/Fresco/X11/X11Display.cxx Fresco96/Fresco/X11/X11Display.cxx
*** Fresco96.orig/Fresco/X11/X11Display.cxx	Thu Apr 18 03:56:57 1996
--- Fresco96/Fresco/X11/X11Display.cxx	Fri Aug 30 00:07:09 1996
***************
*** 186,191 ****
--- 186,195 ----
      return new X11Cursor(n);
  }
  
+ #ifdef __FreeBSD__
+ #include <unistd.h>
+ #endif
+ 
  void X11Display::next_event(XEvent* event) {
      // We don't want to block in XNextEvent unless we are using a MultiThread
      // safe Xlib, so we block using select instead.
diff -acr Fresco96.orig/Fresco/base/dloadlib.cxx Fresco96/Fresco/base/dloadlib.cxx
*** Fresco96.orig/Fresco/base/dloadlib.cxx	Wed May 15 13:53:32 1996
--- Fresco96/Fresco/base/dloadlib.cxx	Sun Sep  8 22:32:13 1996
***************
*** 49,67 ****
  // Not sure what to do here if we don't have dlopen or something equivalent.
  //
  
! #if defined(__SVR4) || defined(__osf__) || defined(__linux)
  #include <dlfcn.h>
  
  dlhandle_t DLoadLib::load_library(const char* name) {
      return dlopen(name, RTLD_LAZY);
  }
  
  void* DLoadLib::get_symbol_address(const dlhandle_t h, const char *symbol) {
      return dlsym(h, symbol);
  }
  
  const char* DLoadLib::lib_prefix() { return "lib"; }
  const char* DLoadLib::lib_extension() { return ".so"; }
  const char* DLoadLib::load_error_msg() { return dlerror(); }
  
  #endif
--- 49,87 ----
  // Not sure what to do here if we don't have dlopen or something equivalent.
  //
  
! #if defined(__SVR4) || defined(__osf__) || defined(__linux) || defined(__FreeBSD__)
  #include <dlfcn.h>
  
+ #ifdef __FreeBSD__
+ #define RTLD_LAZY 1
+ #include <stdlib.h>
+ #endif
+ 
  dlhandle_t DLoadLib::load_library(const char* name) {
      return dlopen(name, RTLD_LAZY);
  }
  
  void* DLoadLib::get_symbol_address(const dlhandle_t h, const char *symbol) {
+ #if defined(__FreeBSD__) && 0
+     char *buf = (char *)malloc(strlen(symbol) + 2);
+     buf[0]='_',
+     strcpy(buf + 1, symbol);
+     void *r = dlsym(h, buf);
+     free(buf);
+     return r;
+ #else
      return dlsym(h, symbol);
+ #endif
  }
  
+ #ifdef __FreeBSD__
+ const char* DLoadLib::lib_prefix() { return "/home/omatsuda/work/fresco/Fresco96/build/X11/lib/lib"; }
+ //const char* DLoadLib::lib_prefix() { return "lib"; }
+ const char* DLoadLib::lib_extension() { return ".so.1.0"; }
+ #else
  const char* DLoadLib::lib_prefix() { return "lib"; }
  const char* DLoadLib::lib_extension() { return ".so"; }
+ #endif
  const char* DLoadLib::load_error_msg() { return dlerror(); }
  
  #endif
diff -acr Fresco96.orig/Fresco/base/dloadlib.h Fresco96/Fresco/base/dloadlib.h
*** Fresco96.orig/Fresco/base/dloadlib.h	Sun Mar 24 12:21:13 1996
--- Fresco96/Fresco/base/dloadlib.h	Tue Aug 27 02:18:36 1996
***************
*** 34,40 ****
  
  #include <Fresco/base/enter.h>
  
! #if defined(__SVR4) || defined(__osf__) || defined(__linux) || defined(__sun)
      typedef void* dlhandle_t;
  #endif
  #if defined(__hpux)
--- 34,40 ----
  
  #include <Fresco/base/enter.h>
  
! #if defined(__SVR4) || defined(__osf__) || defined(__linux) || defined(__sun) || defined(__FreeBSD__)
      typedef void* dlhandle_t;
  #endif
  #if defined(__hpux)
diff -acr Fresco96.orig/Fresco/base/fresco_lib.cxx Fresco96/Fresco/base/fresco_lib.cxx
*** Fresco96.orig/Fresco/base/fresco_lib.cxx	Wed May 15 13:53:56 1996
--- Fresco96/Fresco/base/fresco_lib.cxx	Sun Sep  8 22:30:51 1996
***************
*** 417,423 ****
--- 417,427 ----
  	    CORBA::string_free(buf);
  	    return nil;
  	} else {
+ #ifndef __FreeBSD__
  	    DLoadFunc* f = (DLoadFunc*)DLoadLib::get_symbol_address(e.dlhandle, "load");
+ #else 
+ 	    DLoadFunc* f = (DLoadFunc*)DLoadLib::get_symbol_address(e.dlhandle, "_load");
+ #endif
  	    if (f == nil) {
  		CORBA::string_free(name);
  		CORBA::string_free(buf);
diff -acr Fresco96.orig/Fresco/base/threads.cxx Fresco96/Fresco/base/threads.cxx
*** Fresco96.orig/Fresco/base/threads.cxx	Wed May 15 13:53:37 1996
--- Fresco96/Fresco/base/threads.cxx	Fri Aug 30 00:03:11 1996
***************
*** 2036,2041 ****
--- 2036,2045 ----
  
  #include <sys/types.h>
  #include <sys/time.h>
+ #ifdef __FreeBSD__
+ #include <unistd.h>
+ #endif
+ 
  
  Boolean ThreadLib::delay(float seconds) {
      struct timeval tv;
diff -acr Fresco96.orig/Fresco/remote/r3p.h Fresco96/Fresco/remote/r3p.h
*** Fresco96.orig/Fresco/remote/r3p.h	Wed May 15 13:54:44 1996
--- Fresco96/Fresco/remote/r3p.h	Tue Aug 27 02:49:16 1996
***************
*** 42,48 ****
--- 42,50 ----
  #else
  #include <netinet/in.h>
  #include <sys/socket.h>
+ #ifndef __FreeBSD__
  #include <sys/uio.h>
+ #endif
  #endif
  
  typedef union {
diff -acr Fresco96.orig/Fresco/remote/r3p_client.cxx Fresco96/Fresco/remote/r3p_client.cxx
*** Fresco96.orig/Fresco/remote/r3p_client.cxx	Wed May 15 13:54:46 1996
--- Fresco96/Fresco/remote/r3p_client.cxx	Tue Aug 27 02:37:44 1996
***************
*** 275,282 ****
--- 275,287 ----
      msghdr.msg_namelen = sizeof dstAddr.in;
      msghdr.msg_iov = iovs;
      msghdr.msg_iovlen = niovs;
+ #ifdef __FreeBSD__
+     msghdr.msg_control = 0;
+     msghdr.msg_controllen = 0;
+ #else
      msghdr.msg_accrights = 0;
      msghdr.msg_accrightslen = 0;
+ #endif
  
      R3pPacket *tmpReply = reply;
      ULong fetchOffset = 0;
diff -acr Fresco96.orig/Fresco/remote/r3p_compat.h Fresco96/Fresco/remote/r3p_compat.h
*** Fresco96.orig/Fresco/remote/r3p_compat.h	Wed May 15 13:54:40 1996
--- Fresco96/Fresco/remote/r3p_compat.h	Tue Aug 27 02:42:09 1996
***************
*** 30,37 ****
  /*
   * Needed for struct timeval
   */
! #ifdef __osf__
  #include <sys/time.h>
  #endif
  
  /*
--- 30,47 ----
  /*
   * Needed for struct timeval
   */
! #if defined(__osf__) || defined(__FreeBSD__)
  #include <sys/time.h>
+ #endif
+ 
+ #ifdef __FreeBSD__
+ struct iovec {
+         char    *iov_base;      /* Base address. */
+         size_t   iov_len;       /* Length. */
+ };
+ 
+ typedef unsigned long u_long;
+ 
  #endif
  
  /*
diff -acr Fresco96.orig/Fresco/remote/r3p_scatter.h Fresco96/Fresco/remote/r3p_scatter.h
*** Fresco96.orig/Fresco/remote/r3p_scatter.h	Wed May 15 13:55:04 1996
--- Fresco96/Fresco/remote/r3p_scatter.h	Tue Aug 27 02:42:26 1996
***************
*** 31,37 ****
  
  #include <Fresco/remote/r3p_compat.h>
  
! #ifndef _WIN32
  #include <sys/uio.h>
  #endif
  
--- 31,37 ----
  
  #include <Fresco/remote/r3p_compat.h>
  
! #if !defined(_WIN32) && !defined(__FreeBSD__)
  #include <sys/uio.h>
  #endif
  
diff -acr Fresco96.orig/build/X11/Makefile Fresco96/build/X11/Makefile
*** Fresco96.orig/build/X11/Makefile	Wed May 15 13:53:42 1996
--- Fresco96/build/X11/Makefile	Tue Aug 27 00:33:42 1996
***************
*** 1,4 ****
! PLATFORM = sun
  include Makerules/$(PLATFORM).mk
  
  # These explicit build-order dependencies are to try to prevent a
--- 1,4 ----
! PLATFORM = freebsd
  include Makerules/$(PLATFORM).mk
  
  # These explicit build-order dependencies are to try to prevent a
diff -acr Fresco96.orig/build/X11/Makerules/base.mk Fresco96/build/X11/Makerules/base.mk
*** Fresco96.orig/build/X11/Makerules/base.mk	Wed May 15 13:16:39 1996
--- Fresco96/build/X11/Makerules/base.mk	Wed Aug 28 00:35:06 1996
***************
*** 38,109 ****
  libs:: $(LIB)/libbase.$(SHARED_EXT)
  
  $(LIB)/libbase.$(SHARED_EXT): $(BASE_OBJS)
! 	$(C++LIB) -o $@ $(BASE_OBJS) $(BASE_LIBS)
  
  $(OBJ)/caches.o: $(BASE)/caches.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/caches.cxx
  $(OBJ)/damages.o: $(BASE)/damages.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/damages.cxx
  $(OBJ)/debug.o: $(BASE)/debug.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/debug.cxx
  $(OBJ)/displays.o: $(BASE)/displays.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/displays.cxx
  $(OBJ)/dloadlib.o: $(BASE)/dloadlib.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/dloadlib.cxx
  $(OBJ)/drawings.o: $(BASE)/drawings.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/drawings.cxx
  $(OBJ)/externaliz.o: $(BASE)/externaliz.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/externaliz.cxx
  $(OBJ)/fresco_lib.o: $(BASE)/fresco_lib.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/fresco_lib.cxx
  $(OBJ)/glyphs.o: $(BASE)/glyphs.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/glyphs.cxx
  $(OBJ)/memory.o: $(BASE)/memory.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/memory.cxx
  $(OBJ)/names.o: $(BASE)/names.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/names.cxx
  $(OBJ)/octetbuf.o: $(BASE)/octetbuf.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/octetbuf.cxx
  $(OBJ)/os.o: $(BASE)/os.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/os.cxx
  $(OBJ)/painters.o: $(BASE)/painters.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/painters.cxx
  $(OBJ)/rasters.o: $(BASE)/rasters.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/rasters.cxx
  $(OBJ)/styles.o: $(BASE)/styles.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/styles.cxx
  $(OBJ)/threads.o: $(BASE)/threads.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/threads.cxx
  $(OBJ)/typess.o: $(BASE)/typess.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/typess.cxx
  $(OBJ)/viewers.o: $(BASE)/viewers.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/viewers.cxx
  $(OBJ)/windows.o: $(BASE)/windows.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/windows.cxx
  
  REMOTE=../../Fresco/remote
  
  $(OBJ)/proxy_exch.o: $(REMOTE)/proxy_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/proxy_exch.cxx
  $(OBJ)/r3p.o: $(REMOTE)/r3p.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p.cxx
  $(OBJ)/r3p_client.o: $(REMOTE)/r3p_client.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_client.cxx
  $(OBJ)/r3p_exchange.o: $(REMOTE)/r3p_exchange.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_exchange.cxx
  $(OBJ)/r3p_list.o: $(REMOTE)/r3p_list.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_list.cxx
  $(OBJ)/r3p_scatter.o: $(REMOTE)/r3p_scatter.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_scatter.cxx
  $(OBJ)/r3p_server.o: $(REMOTE)/r3p_server.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_server.cxx
  $(OBJ)/r3p_sq.o: $(REMOTE)/r3p_sq.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_sq.cxx
  $(OBJ)/remote.o: $(REMOTE)/remote.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/remote.cxx
  $(OBJ)/remote_exch.o: $(REMOTE)/remote_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/remote_exch.cxx
  $(OBJ)/request_mgr.o: $(REMOTE)/request_mgr.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/request_mgr.cxx
  $(OBJ)/server_exch.o: $(REMOTE)/server_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/server_exch.cxx
--- 38,173 ----
  libs:: $(LIB)/libbase.$(SHARED_EXT)
  
  $(LIB)/libbase.$(SHARED_EXT): $(BASE_OBJS)
! 	$(C++LIB) -o $@ `lorder $(BASE_OBJS) | tsort` $(BASE_LIBS)
  
  $(OBJ)/caches.o: $(BASE)/caches.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/caches.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/damages.o: $(BASE)/damages.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/damages.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/debug.o: $(BASE)/debug.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/debug.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/displays.o: $(BASE)/displays.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/displays.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/dloadlib.o: $(BASE)/dloadlib.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/dloadlib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/drawings.o: $(BASE)/drawings.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/drawings.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/externaliz.o: $(BASE)/externaliz.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/externaliz.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fresco_lib.o: $(BASE)/fresco_lib.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/fresco_lib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/glyphs.o: $(BASE)/glyphs.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/glyphs.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/memory.o: $(BASE)/memory.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/memory.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/names.o: $(BASE)/names.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/names.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/octetbuf.o: $(BASE)/octetbuf.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/octetbuf.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/os.o: $(BASE)/os.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/os.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/painters.o: $(BASE)/painters.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/painters.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rasters.o: $(BASE)/rasters.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/rasters.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/styles.o: $(BASE)/styles.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/styles.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/threads.o: $(BASE)/threads.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/threads.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/typess.o: $(BASE)/typess.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/typess.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/viewers.o: $(BASE)/viewers.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/viewers.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/windows.o: $(BASE)/windows.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(BASE)/windows.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  
  REMOTE=../../Fresco/remote
  
  $(OBJ)/proxy_exch.o: $(REMOTE)/proxy_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/proxy_exch.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p.o: $(REMOTE)/r3p.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_client.o: $(REMOTE)/r3p_client.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_client.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_exchange.o: $(REMOTE)/r3p_exchange.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_exchange.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_list.o: $(REMOTE)/r3p_list.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_list.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_scatter.o: $(REMOTE)/r3p_scatter.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_scatter.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_server.o: $(REMOTE)/r3p_server.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_server.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/r3p_sq.o: $(REMOTE)/r3p_sq.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/r3p_sq.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/remote.o: $(REMOTE)/remote.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/remote.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/remote_exch.o: $(REMOTE)/remote_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/remote_exch.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/request_mgr.o: $(REMOTE)/request_mgr.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/request_mgr.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/server_exch.o: $(REMOTE)/server_exch.cxx
  	$(C++OBJ) $(BASE_OPTS) -o $@ -c $(REMOTE)/server_exch.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/defs.mk Fresco96/build/X11/Makerules/defs.mk
*** Fresco96.orig/build/X11/Makerules/defs.mk	Wed May 15 13:18:31 1996
--- Fresco96/build/X11/Makerules/defs.mk	Wed Aug 28 00:35:06 1996
***************
*** 78,116 ****
  libs:: $(LIB)/libdefs.$(SHARED_EXT)
  
  $(LIB)/libdefs.$(SHARED_EXT): $(DEFS_OBJS)
! 	$(C++LIB) -o $@ $(DEFS_OBJS) $(DEFS_LIBS)
  
  $(OBJ)/applic.o: $(DEFS)/applic.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/applic.cxx
  $(OBJ)/cache.o: $(DEFS)/cache.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/cache.cxx
  $(OBJ)/defs_schema.o: $(DEFS)/defs_schema.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/defs_schema.cxx
  $(OBJ)/dialogs.o: $(DEFS)/dialogs.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/dialogs.cxx
  $(OBJ)/display.o: $(DEFS)/display.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/display.cxx
  $(OBJ)/drawing.o: $(DEFS)/drawing.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/drawing.cxx
  $(OBJ)/event.o: $(DEFS)/event.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/event.cxx
  $(OBJ)/figures.o: $(DEFS)/figures.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/figures.cxx
  $(OBJ)/glyph.o: $(DEFS)/glyph.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/glyph.cxx
  $(OBJ)/layouts.o: $(DEFS)/layouts.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/layouts.cxx
  $(OBJ)/menu.o: $(DEFS)/menu.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/menu.cxx
  $(OBJ)/menus.o: $(DEFS)/menus.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/menus.cxx
  $(OBJ)/style.o: $(DEFS)/style.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/style.cxx
  $(OBJ)/text.o: $(DEFS)/text.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/text.cxx
  $(OBJ)/types.o: $(DEFS)/types.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/types.cxx
  $(OBJ)/viewer.o: $(DEFS)/viewer.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/viewer.cxx
  $(OBJ)/widgets.o: $(DEFS)/widgets.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/widgets.cxx
--- 78,150 ----
  libs:: $(LIB)/libdefs.$(SHARED_EXT)
  
  $(LIB)/libdefs.$(SHARED_EXT): $(DEFS_OBJS)
! 	$(C++LIB) -o $@ `lorder $(DEFS_OBJS) | tsort` $(DEFS_LIBS)
  
  $(OBJ)/applic.o: $(DEFS)/applic.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/applic.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/cache.o: $(DEFS)/cache.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/cache.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/defs_schema.o: $(DEFS)/defs_schema.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/defs_schema.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/dialogs.o: $(DEFS)/dialogs.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/dialogs.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/display.o: $(DEFS)/display.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/display.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/drawing.o: $(DEFS)/drawing.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/drawing.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/event.o: $(DEFS)/event.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/event.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figures.o: $(DEFS)/figures.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/figures.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/glyph.o: $(DEFS)/glyph.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/glyph.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/layouts.o: $(DEFS)/layouts.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/layouts.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu.o: $(DEFS)/menu.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/menu.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menus.o: $(DEFS)/menus.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/menus.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/style.o: $(DEFS)/style.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/style.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/text.o: $(DEFS)/text.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/text.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/types.o: $(DEFS)/types.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/types.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/viewer.o: $(DEFS)/viewer.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/viewer.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/widgets.o: $(DEFS)/widgets.cxx
  	$(C++OBJ) $(DEFS_OPTS) -o $@ -c $(DEFS)/widgets.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/examples.mk Fresco96/build/X11/Makerules/examples.mk
*** Fresco96.orig/build/X11/Makerules/examples.mk	Fri May 17 03:16:46 1996
--- Fresco96/build/X11/Makerules/examples.mk	Mon Sep  2 02:03:33 1996
***************
*** 44,110 ****
  $(EXAMPLES)/figgy_schema.cxx: $(EXAMPLES_GENS)
  	$(IDLSCHEMA) Cfiggy $@ $(EXAMPLES_GENS)
  
! libs:: $(LIB)/libexamples.so
  
! $(LIB)/libexamples.so: $(EXAMPLES_OBJS)
! 	$(C++LIB) -o $@ $(EXAMPLES_OBJS) $(EXAMPLES_LIBS)
  
  $(OBJ)/button.o: $(EXAMPLES)/button.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/button.cxx
  $(OBJ)/cfiggy.o: $(EXAMPLES)/cfiggy.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/cfiggy.cxx
  $(OBJ)/cfogey.o: $(EXAMPLES)/cfogey.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/cfogey.cxx
  $(OBJ)/clock.o: $(EXAMPLES)/clock.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/clock.cxx
  $(OBJ)/docuview.o: $(EXAMPLES)/docuview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/docuview.cxx
  $(OBJ)/exampleslib.o: $(EXAMPLES)/exampleslib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/exampleslib.cxx
  $(OBJ)/fchooser.o: $(EXAMPLES)/fchooser.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fchooser.cxx
  $(OBJ)/figgy.o: $(EXAMPLES)/figgy.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgy.cxx
  $(OBJ)/figgy_schema.o: $(EXAMPLES)/figgy_schema.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgy_schema.cxx
  $(OBJ)/figgyedit.o: $(EXAMPLES)/figgyedit.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgyedit.cxx
  $(OBJ)/figgylib.o: $(EXAMPLES)/figgylib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgylib.cxx
  $(OBJ)/figgyviewer.o: $(EXAMPLES)/figgyviewer.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgyviewer.cxx
  $(OBJ)/floatview.o: $(EXAMPLES)/floatview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/floatview.cxx
  $(OBJ)/fogeylib.o: $(EXAMPLES)/fogeylib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fogeylib.cxx
  $(OBJ)/fogeyviewer.o: $(EXAMPLES)/fogeyviewer.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fogeyviewer.cxx
  $(OBJ)/grays.o: $(EXAMPLES)/grays.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/grays.cxx
  $(OBJ)/hello.o: $(EXAMPLES)/hello.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/hello.cxx
  $(OBJ)/image.o: $(EXAMPLES)/image.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/image.cxx
  $(OBJ)/lines.o: $(EXAMPLES)/lines.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/lines.cxx
  $(OBJ)/mtcircles.o: $(EXAMPLES)/mtcircles.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/mtcircles.cxx
  $(OBJ)/prompt.o: $(EXAMPLES)/prompt.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/prompt.cxx
  $(OBJ)/rgb.o: $(EXAMPLES)/rgb.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/rgb.cxx
  $(OBJ)/rgbview.o: $(EXAMPLES)/rgbview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/rgbview.cxx
  $(OBJ)/simpleview.o: $(EXAMPLES)/simpleview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/simpleview.cxx
  $(OBJ)/table.o: $(EXAMPLES)/table.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/table.cxx
  $(OBJ)/transform.o: $(EXAMPLES)/transform.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/transform.cxx
  $(OBJ)/value.o: $(EXAMPLES)/value.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/value.cxx
  $(OBJ)/vport.o: $(EXAMPLES)/vport.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/vport.cxx
  
  ########################################################################
  # examples
--- 44,166 ----
  $(EXAMPLES)/figgy_schema.cxx: $(EXAMPLES_GENS)
  	$(IDLSCHEMA) Cfiggy $@ $(EXAMPLES_GENS)
  
! libs:: $(LIB)/libexamples.$(SHARED_EXT)
  
! $(LIB)/libexamples.$(SHARED_EXT): $(EXAMPLES_OBJS)
! 	$(C++LIB) -o $@ `lorder $(EXAMPLES_OBJS) | tsort`
  
  $(OBJ)/button.o: $(EXAMPLES)/button.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/button.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/cfiggy.o: $(EXAMPLES)/cfiggy.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/cfiggy.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/cfogey.o: $(EXAMPLES)/cfogey.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/cfogey.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/clock.o: $(EXAMPLES)/clock.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/clock.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/docuview.o: $(EXAMPLES)/docuview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/docuview.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/exampleslib.o: $(EXAMPLES)/exampleslib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/exampleslib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fchooser.o: $(EXAMPLES)/fchooser.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fchooser.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figgy.o: $(EXAMPLES)/figgy.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgy.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figgy_schema.o: $(EXAMPLES)/figgy_schema.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgy_schema.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figgyedit.o: $(EXAMPLES)/figgyedit.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgyedit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figgylib.o: $(EXAMPLES)/figgylib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgylib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figgyviewer.o: $(EXAMPLES)/figgyviewer.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/figgyviewer.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/floatview.o: $(EXAMPLES)/floatview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/floatview.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fogeylib.o: $(EXAMPLES)/fogeylib.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fogeylib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fogeyviewer.o: $(EXAMPLES)/fogeyviewer.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/fogeyviewer.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/grays.o: $(EXAMPLES)/grays.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/grays.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/hello.o: $(EXAMPLES)/hello.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/hello.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/image.o: $(EXAMPLES)/image.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/image.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/lines.o: $(EXAMPLES)/lines.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/lines.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/mtcircles.o: $(EXAMPLES)/mtcircles.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/mtcircles.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/prompt.o: $(EXAMPLES)/prompt.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/prompt.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rgb.o: $(EXAMPLES)/rgb.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/rgb.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rgbview.o: $(EXAMPLES)/rgbview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/rgbview.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/simpleview.o: $(EXAMPLES)/simpleview.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/simpleview.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/table.o: $(EXAMPLES)/table.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/table.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/transform.o: $(EXAMPLES)/transform.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/transform.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/value.o: $(EXAMPLES)/value.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/value.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/vport.o: $(EXAMPLES)/vport.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLES)/vport.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  
  ########################################################################
  # examples
***************
*** 117,123 ****
  bins:: $(BIN)/examples 
  
  $(BIN)/examples: $(EXAMPLESAPP_OBJS)
! 	$(C++BIN) -o $@ $(EXAMPLESAPP_OBJS) $(EXAMPLESAPP_LIBS)
  
  $(OBJ)/examples.o: $(EXAMPLESAPP)/examples.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLESAPP)/examples.cxx
--- 173,180 ----
  bins:: $(BIN)/examples 
  
  $(BIN)/examples: $(EXAMPLESAPP_OBJS)
! 	$(C++BIN) -v -o $@ $(EXAMPLESAPP_OBJS) $(EXAMPLES_OBJS) $(EXAMPLESAPP_LIBS) 
! #	$(C++BIN) -v -o $@ $(EXAMPLESAPP_OBJS) $(EXAMPLESAPP_LIBS) 
  
  $(OBJ)/examples.o: $(EXAMPLESAPP)/examples.cxx
  	$(C++OBJ) $(EXAMPLES_OPTS) -o $@ -c $(EXAMPLESAPP)/examples.cxx
diff -acr Fresco96.orig/build/X11/Makerules/fdisplay.mk Fresco96/build/X11/Makerules/fdisplay.mk
*** Fresco96.orig/build/X11/Makerules/fdisplay.mk	Wed May 15 13:20:35 1996
--- Fresco96/build/X11/Makerules/fdisplay.mk	Wed Aug 28 01:05:12 1996
***************
*** 15,39 ****
  libs:: $(LIB)/libfdisplay.$(SHARED_EXT)
  
  $(LIB)/libfdisplay.$(SHARED_EXT): $(X11_OBJS)
! 	$(C++LIB) -o $@ $(X11_OBJS) $(X11_LIBS)
  
  $(OBJ)/X11Cache.o: $(X11)/X11Cache.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Cache.cxx
  $(OBJ)/X11Cursor.o: $(X11)/X11Cursor.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Cursor.cxx
  $(OBJ)/X11Display.o: $(X11)/X11Display.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Display.cxx
  $(OBJ)/X11Drawing.o: $(X11)/X11Drawing.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Drawing.cxx
  $(OBJ)/X11Event.o: $(X11)/X11Event.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Event.cxx
  $(OBJ)/X11Lib.o: $(X11)/X11Lib.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Lib.cxx
  $(OBJ)/X11Painter.o: $(X11)/X11Painter.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Painter.cxx
  $(OBJ)/X11Screen.o: $(X11)/X11Screen.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Screen.cxx
  $(OBJ)/X11Visual.o: $(X11)/X11Visual.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Visual.cxx
  $(OBJ)/X11Window.o: $(X11)/X11Window.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Window.cxx
--- 15,59 ----
  libs:: $(LIB)/libfdisplay.$(SHARED_EXT)
  
  $(LIB)/libfdisplay.$(SHARED_EXT): $(X11_OBJS)
! 	$(C++LIB) -o $@ `lorder $(X11_OBJS) | tsort` $(X11_LIBS)
  
  $(OBJ)/X11Cache.o: $(X11)/X11Cache.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Cache.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Cursor.o: $(X11)/X11Cursor.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Cursor.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Display.o: $(X11)/X11Display.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Display.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Drawing.o: $(X11)/X11Drawing.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Drawing.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Event.o: $(X11)/X11Event.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Event.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Lib.o: $(X11)/X11Lib.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Lib.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Painter.o: $(X11)/X11Painter.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Painter.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Screen.o: $(X11)/X11Screen.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Screen.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Visual.o: $(X11)/X11Visual.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Visual.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/X11Window.o: $(X11)/X11Window.cxx
  	$(C++OBJ) $(X11_OPTS) -o $@ -c $(X11)/X11Window.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/figures.mk Fresco96/build/X11/Makerules/figures.mk
*** Fresco96.orig/build/X11/Makerules/figures.mk	Wed May 15 13:22:15 1996
--- Fresco96/build/X11/Makerules/figures.mk	Wed Aug 28 00:35:06 1996
***************
*** 15,39 ****
  libs:: $(LIB)/libfigures.$(SHARED_EXT)
  
  $(LIB)/libfigures.$(SHARED_EXT): $(FIGURES_OBJS)
! 	$(C++LIB) -o $@ $(FIGURES_OBJS) $(FIGURES_LIBS)
  
  $(OBJ)/commands.o: $(FIGURES)/commands.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/commands.cxx
  $(OBJ)/editor.o: $(FIGURES)/editor.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/editor.cxx
  $(OBJ)/figimpls.o: $(FIGURES)/figimpls.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/figimpls.cxx
  $(OBJ)/figviewer.o: $(FIGURES)/figviewer.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/figviewer.cxx
  $(OBJ)/manipulators.o: $(FIGURES)/manipulators.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/manipulators.cxx
  $(OBJ)/selection.o: $(FIGURES)/selection.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/selection.cxx
  $(OBJ)/tc.o: $(FIGURES)/tc.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/tc.cxx
  $(OBJ)/tools.o: $(FIGURES)/tools.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/tools.cxx
  $(OBJ)/utility.o: $(FIGURES)/utility.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/utility.cxx
  $(OBJ)/visitors.o: $(FIGURES)/visitors.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/visitors.cxx
--- 15,59 ----
  libs:: $(LIB)/libfigures.$(SHARED_EXT)
  
  $(LIB)/libfigures.$(SHARED_EXT): $(FIGURES_OBJS)
! 	$(C++LIB) -o $@ `lorder $(FIGURES_OBJS) | tsort` $(FIGURES_LIBS)
  
  $(OBJ)/commands.o: $(FIGURES)/commands.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/commands.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/editor.o: $(FIGURES)/editor.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/editor.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figimpls.o: $(FIGURES)/figimpls.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/figimpls.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/figviewer.o: $(FIGURES)/figviewer.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/figviewer.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/manipulators.o: $(FIGURES)/manipulators.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/manipulators.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/selection.o: $(FIGURES)/selection.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/selection.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tc.o: $(FIGURES)/tc.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/tc.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tools.o: $(FIGURES)/tools.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/tools.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/utility.o: $(FIGURES)/utility.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/utility.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/visitors.o: $(FIGURES)/visitors.cxx
  	$(C++OBJ) $(FIGURES_OPTS) -o $@ -c $(FIGURES)/visitors.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/freebsd.mk Fresco96/build/X11/Makerules/freebsd.mk
*** Fresco96.orig/build/X11/Makerules/freebsd.mk	Tue Sep 10 00:27:19 1996
--- Fresco96/build/X11/Makerules/freebsd.mk	Sun Sep  8 22:28:12 1996
***************
*** 0 ****
--- 1,64 ----
+ #
+ # Platform configuration file for:
+ #   FreeBSD 2.1
+ #   GNU CC 2.7.2
+ #
+ 
+ #
+ # Paths to where things are.
+ #
+ 
+ OBJ=obj
+ LIB=lib
+ BIN=bin
+ RPATH=`pwd`/lib:/usr/local/lib
+ 
+ IDLHCXX=./idlhcxx ../..
+ IDLSCHEMA=./idlschema
+ YACC=./yaccity
+ 
+ #
+ # Options used.
+ #
+ 
+ CC=gcc
+ C++C=g++
+ LD=ld
+ 
+ COBJ=$(CC) -g -fpic -shared
+ # COBJ=$(CC) -g -fpic -shared -O
+ CLIB=$(LD) -Bshareable
+ 
+ C++OBJ=$(C++C) -g -I../.. -fpic -shared -Wall -Wno-unused
+ # C++OBJ=$(C++C) -g -I../.. -fpic -shared -O -Wall -Wno-unused
+ C++LIB=$(LD) -Bshareable 
+ C++BIN=$(C++C) -g -Xlinker -Bdynamic
+ 
+ JPEG_OPTS=-I../../jpeg
+ TIFF_OPTS=-I../../tiff
+ IMAGES_OPTS=$(JPEG_OPTS) $(TIFF_OPTS)
+ X11_OPTS=-I/usr/X11R6/include
+ OCS_OPTS=-shared
+ 
+ #
+ # Libraries used.
+ #
+ 
+ #BASIC_LIBS=-L$(LIB) -lbase -ldefs -locs -lsocket -lnsl -lthread
+ BASIC_LIBS=-L$(LIB) -lbase -ldefs -locs 
+ SHARED_EXT=so.1.0
+ 
+ # If your libstdc++ is not a shared library (libstdc++.a instead of 
+ # libstdc++.so), libbase.so will pull it in because it uses iostreams
+ # and the linker will complain about text relocations remaining
+ # against non-writable, allocatable sections in libstdc++.a.  If you
+ # encounter this problem, build libbase.so with -nostdlib to avoid
+ # pulling in libstdc++.a during the link.
+ # BASE_LIBS=-nostdlib
+ IMAGES_LIBS=-L$(LIB) -ljpeg -ltiff
+ X11_LIBS=-L/usr/X11R6/lib -lX11
+ 
+ #EXAMPLESAPP_LIBS=$(BASIC_LIBS) -lexamples
+ EXAMPLESAPP_LIBS=$(BASIC_LIBS)
+ EVENT_LIBS=$(BASIC_LIBS)
+ FDRAW_LIBS=$(BASIC_LIBS) -lfigures
diff -acr Fresco96.orig/build/X11/Makerules/images.mk Fresco96/build/X11/Makerules/images.mk
*** Fresco96.orig/build/X11/Makerules/images.mk	Fri May 17 09:43:36 1996
--- Fresco96/build/X11/Makerules/images.mk	Wed Aug 28 01:05:54 1996
***************
*** 10,24 ****
  libs:: $(LIB)/libimages.$(SHARED_EXT)
  
  $(LIB)/libimages.$(SHARED_EXT): $(IMAGES_OBJS)
! 	$(C++LIB) -o $@ $(IMAGES_OBJS) $(IMAGES_LIBS)
  
  $(OBJ)/bmp.o: $(IMAGES)/bmp.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/bmp.cxx
  $(OBJ)/gif.o: $(IMAGES)/gif.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/gif.cxx
  $(OBJ)/image_kit.o: $(IMAGES)/image_kit.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/image_kit.cxx
  $(OBJ)/jpeg.o: $(IMAGES)/jpeg.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/jpeg.cxx
  $(OBJ)/tiff.o: $(IMAGES)/tiff.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/tiff.cxx
--- 10,34 ----
  libs:: $(LIB)/libimages.$(SHARED_EXT)
  
  $(LIB)/libimages.$(SHARED_EXT): $(IMAGES_OBJS)
! 	$(C++LIB) -o $@ `lorder $(IMAGES_OBJS) | tsort`
  
  $(OBJ)/bmp.o: $(IMAGES)/bmp.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/bmp.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/gif.o: $(IMAGES)/gif.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/gif.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/image_kit.o: $(IMAGES)/image_kit.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/image_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jpeg.o: $(IMAGES)/jpeg.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/jpeg.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tiff.o: $(IMAGES)/tiff.cxx
  	$(C++OBJ) $(IMAGES_OPTS) -o $@ -c $(IMAGES)/tiff.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/ixx.mk Fresco96/build/X11/Makerules/ixx.mk
*** Fresco96.orig/build/X11/Makerules/ixx.mk	Wed May 15 13:23:51 1996
--- Fresco96/build/X11/Makerules/ixx.mk	Wed Aug 28 00:33:19 1996
***************
*** 25,49 ****
--- 25,73 ----
  
  $(OBJ)/base_string.o: $(IXX)/base_string.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/base_string.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/cxx_filter.o: $(IXX)/cxx_filter.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/cxx_filter.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/cxx_gen.o: $(IXX)/cxx_gen.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/cxx_gen.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/err.o: $(IXX)/err.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/err.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/expr.o: $(IXX)/expr.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/expr.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/gen_lisp.o: $(IXX)/gen_lisp.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/gen_lisp.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/generator.o: $(IXX)/generator.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/generator.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/gram.o: $(IXX)/gram.cxx
  	$(C++OBJ) $(IXX_OPTS) -I$(IXX) -o $@ -c $(IXX)/gram.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/hxx_gen.o: $(IXX)/hxx_gen.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/hxx_gen.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/ixx_main.o: $(IXX)/ixx_main.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/ixx_main.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/resolve.o: $(IXX)/resolve.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/resolve.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/scanner.o: $(IXX)/scanner.cxx
  	$(C++OBJ) $(IXX_OPTS) -o $@ -c $(IXX)/scanner.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/jpeg.mk Fresco96/build/X11/Makerules/jpeg.mk
*** Fresco96.orig/build/X11/Makerules/jpeg.mk	Wed May 15 13:24:46 1996
--- Fresco96/build/X11/Makerules/jpeg.mk	Wed Aug 28 00:35:06 1996
***************
*** 51,147 ****
  libs:: $(LIB)/libjpeg.$(SHARED_EXT)
  
  $(LIB)/libjpeg.$(SHARED_EXT) : $(JPEG_OBJS)
! 	$(CLIB) -o $@ $(JPEG_OBJS) $(JPEG_LIBS)
  
  $(OBJ)/jcapimin.o : $(JPEG)/jcapimin.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcapimin.c
  $(OBJ)/jcapistd.o : $(JPEG)/jcapistd.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcapistd.c
  $(OBJ)/jctrans.o : $(JPEG)/jctrans.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jctrans.c
  $(OBJ)/jcparam.o : $(JPEG)/jcparam.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcparam.c
  $(OBJ)/jdatadst.o : $(JPEG)/jdatadst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdatadst.c
  $(OBJ)/jcinit.o : $(JPEG)/jcinit.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcinit.c
  $(OBJ)/jcmaster.o : $(JPEG)/jcmaster.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmaster.c
  $(OBJ)/jcmarker.o : $(JPEG)/jcmarker.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmarker.c
  $(OBJ)/jcmainct.o : $(JPEG)/jcmainct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmainct.c
  $(OBJ)/jcprepct.o : $(JPEG)/jcprepct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcprepct.c
  $(OBJ)/jccoefct.o : $(JPEG)/jccoefct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jccoefct.c
  $(OBJ)/jccolor.o : $(JPEG)/jccolor.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jccolor.c
  $(OBJ)/jcsample.o : $(JPEG)/jcsample.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcsample.c
  $(OBJ)/jchuff.o : $(JPEG)/jchuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jchuff.c
  $(OBJ)/jcphuff.o : $(JPEG)/jcphuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcphuff.c
  $(OBJ)/jcdctmgr.o : $(JPEG)/jcdctmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcdctmgr.c
  $(OBJ)/jfdctfst.o : $(JPEG)/jfdctfst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctfst.c
  $(OBJ)/jfdctflt.o : $(JPEG)/jfdctflt.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctflt.c
  $(OBJ)/jfdctint.o : $(JPEG)/jfdctint.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctint.c
  $(OBJ)/jdapimin.o : $(JPEG)/jdapimin.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdapimin.c
  $(OBJ)/jdapistd.o : $(JPEG)/jdapistd.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdapistd.c
  $(OBJ)/jdtrans.o : $(JPEG)/jdtrans.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdtrans.c
  $(OBJ)/jdatasrc.o : $(JPEG)/jdatasrc.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdatasrc.c
  $(OBJ)/jdmaster.o : $(JPEG)/jdmaster.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmaster.c
  $(OBJ)/jdinput.o : $(JPEG)/jdinput.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdinput.c
  $(OBJ)/jdmarker.o : $(JPEG)/jdmarker.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmarker.c
  $(OBJ)/jdhuff.o : $(JPEG)/jdhuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdhuff.c
  $(OBJ)/jdphuff.o : $(JPEG)/jdphuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdphuff.c
  $(OBJ)/jdmainct.o : $(JPEG)/jdmainct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmainct.c
  $(OBJ)/jdcoefct.o : $(JPEG)/jdcoefct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdcoefct.c
  $(OBJ)/jdpostct.o : $(JPEG)/jdpostct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdpostct.c
  $(OBJ)/jddctmgr.o : $(JPEG)/jddctmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jddctmgr.c
  $(OBJ)/jidctfst.o : $(JPEG)/jidctfst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctfst.c
  $(OBJ)/jidctflt.o : $(JPEG)/jidctflt.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctflt.c
  $(OBJ)/jidctint.o : $(JPEG)/jidctint.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctint.c
  $(OBJ)/jidctred.o : $(JPEG)/jidctred.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctred.c
  $(OBJ)/jdsample.o : $(JPEG)/jdsample.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdsample.c
  $(OBJ)/jdcolor.o : $(JPEG)/jdcolor.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdcolor.c
  $(OBJ)/jquant1.o : $(JPEG)/jquant1.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jquant1.c
  $(OBJ)/jquant2.o : $(JPEG)/jquant2.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jquant2.c
  $(OBJ)/jdmerge.o : $(JPEG)/jdmerge.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmerge.c
  $(OBJ)/jcomapi.o : $(JPEG)/jcomapi.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcomapi.c
  $(OBJ)/jutils.o : $(JPEG)/jutils.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jutils.c
  $(OBJ)/jerror.o : $(JPEG)/jerror.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jerror.c
  $(OBJ)/jmemmgr.o : $(JPEG)/jmemmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jmemmgr.c
  $(OBJ)/jmemnobs.o : $(JPEG)/jmemnobs.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jmemnobs.c
--- 51,239 ----
  libs:: $(LIB)/libjpeg.$(SHARED_EXT)
  
  $(LIB)/libjpeg.$(SHARED_EXT) : $(JPEG_OBJS)
! 	$(CLIB) -o $@ `lorder $(JPEG_OBJS) | tsort` $(JPEG_LIBS)
  
  $(OBJ)/jcapimin.o : $(JPEG)/jcapimin.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcapimin.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcapistd.o : $(JPEG)/jcapistd.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcapistd.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jctrans.o : $(JPEG)/jctrans.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jctrans.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcparam.o : $(JPEG)/jcparam.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcparam.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdatadst.o : $(JPEG)/jdatadst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdatadst.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcinit.o : $(JPEG)/jcinit.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcinit.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcmaster.o : $(JPEG)/jcmaster.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmaster.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcmarker.o : $(JPEG)/jcmarker.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmarker.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcmainct.o : $(JPEG)/jcmainct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcmainct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcprepct.o : $(JPEG)/jcprepct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcprepct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jccoefct.o : $(JPEG)/jccoefct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jccoefct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jccolor.o : $(JPEG)/jccolor.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jccolor.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcsample.o : $(JPEG)/jcsample.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcsample.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jchuff.o : $(JPEG)/jchuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jchuff.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcphuff.o : $(JPEG)/jcphuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcphuff.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcdctmgr.o : $(JPEG)/jcdctmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcdctmgr.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jfdctfst.o : $(JPEG)/jfdctfst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctfst.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jfdctflt.o : $(JPEG)/jfdctflt.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctflt.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jfdctint.o : $(JPEG)/jfdctint.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jfdctint.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdapimin.o : $(JPEG)/jdapimin.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdapimin.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdapistd.o : $(JPEG)/jdapistd.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdapistd.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdtrans.o : $(JPEG)/jdtrans.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdtrans.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdatasrc.o : $(JPEG)/jdatasrc.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdatasrc.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdmaster.o : $(JPEG)/jdmaster.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmaster.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdinput.o : $(JPEG)/jdinput.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdinput.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdmarker.o : $(JPEG)/jdmarker.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmarker.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdhuff.o : $(JPEG)/jdhuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdhuff.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdphuff.o : $(JPEG)/jdphuff.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdphuff.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdmainct.o : $(JPEG)/jdmainct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmainct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdcoefct.o : $(JPEG)/jdcoefct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdcoefct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdpostct.o : $(JPEG)/jdpostct.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdpostct.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jddctmgr.o : $(JPEG)/jddctmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jddctmgr.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jidctfst.o : $(JPEG)/jidctfst.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctfst.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jidctflt.o : $(JPEG)/jidctflt.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctflt.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jidctint.o : $(JPEG)/jidctint.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctint.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jidctred.o : $(JPEG)/jidctred.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jidctred.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdsample.o : $(JPEG)/jdsample.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdsample.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdcolor.o : $(JPEG)/jdcolor.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdcolor.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jquant1.o : $(JPEG)/jquant1.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jquant1.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jquant2.o : $(JPEG)/jquant2.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jquant2.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jdmerge.o : $(JPEG)/jdmerge.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jdmerge.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jcomapi.o : $(JPEG)/jcomapi.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jcomapi.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jutils.o : $(JPEG)/jutils.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jutils.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jerror.o : $(JPEG)/jerror.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jerror.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jmemmgr.o : $(JPEG)/jmemmgr.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jmemmgr.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/jmemnobs.o : $(JPEG)/jmemnobs.c
  	$(COBJ) $(JPEG_OPTS) -o $@ -c $(JPEG)/jmemnobs.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/layouts.mk Fresco96/build/X11/Makerules/layouts.mk
*** Fresco96.orig/build/X11/Makerules/layouts.mk	Wed May 15 13:25:11 1996
--- Fresco96/build/X11/Makerules/layouts.mk	Wed Aug 28 00:56:19 1996
***************
*** 17,45 ****
  libs:: $(LIB)/liblayouts.$(SHARED_EXT)
  
  $(LIB)/liblayouts.$(SHARED_EXT): $(LAYOUTS_OBJS)
! 	$(C++LIB) -o $@ $(LAYOUTS_OBJS) $(LAYOUTS_LIBS)
  
  $(OBJ)/auto_scroll.o: $(LAYOUTS)/auto_scroll.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/auto_scroll.cxx
  $(OBJ)/backdrop.o: $(LAYOUTS)/backdrop.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/backdrop.cxx
  $(OBJ)/box.o: $(LAYOUTS)/box.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/box.cxx
  $(OBJ)/deck.o: $(LAYOUTS)/deck.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/deck.cxx
  $(OBJ)/geometry.o: $(LAYOUTS)/geometry.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/geometry.cxx
  $(OBJ)/grid.o: $(LAYOUTS)/grid.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/grid.cxx
  $(OBJ)/layout_kit.o: $(LAYOUTS)/layout_kit.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/layout_kit.cxx
  $(OBJ)/layout_mgr.o: $(LAYOUTS)/layout_mgr.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/layout_mgr.cxx
  $(OBJ)/place.o: $(LAYOUTS)/place.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/place.cxx
  $(OBJ)/scroll_box.o: $(LAYOUTS)/scroll_box.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/scroll_box.cxx
  $(OBJ)/stage.o: $(LAYOUTS)/stage.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/stage.cxx
  $(OBJ)/viewport.o: $(LAYOUTS)/viewport.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/viewport.cxx
--- 17,69 ----
  libs:: $(LIB)/liblayouts.$(SHARED_EXT)
  
  $(LIB)/liblayouts.$(SHARED_EXT): $(LAYOUTS_OBJS)
! 	$(C++LIB) -o $@ `lorder $(LAYOUTS_OBJS) | tsort` $(LAYOUTS_LIBS)
  
  $(OBJ)/auto_scroll.o: $(LAYOUTS)/auto_scroll.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/auto_scroll.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/backdrop.o: $(LAYOUTS)/backdrop.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/backdrop.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/box.o: $(LAYOUTS)/box.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/box.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/deck.o: $(LAYOUTS)/deck.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/deck.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/geometry.o: $(LAYOUTS)/geometry.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/geometry.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/grid.o: $(LAYOUTS)/grid.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/grid.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/layout_kit.o: $(LAYOUTS)/layout_kit.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/layout_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/layout_mgr.o: $(LAYOUTS)/layout_mgr.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/layout_mgr.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/place.o: $(LAYOUTS)/place.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/place.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/scroll_box.o: $(LAYOUTS)/scroll_box.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/scroll_box.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/stage.o: $(LAYOUTS)/stage.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/stage.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/viewport.o: $(LAYOUTS)/viewport.cxx
  	$(C++OBJ) $(LAYOUTS_OPTS) -o $@ -c $(LAYOUTS)/viewport.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/ocs.mk Fresco96/build/X11/Makerules/ocs.mk
*** Fresco96.orig/build/X11/Makerules/ocs.mk	Wed May 15 13:25:54 1996
--- Fresco96/build/X11/Makerules/ocs.mk	Wed Aug 28 00:33:19 1996
***************
*** 53,95 ****
  libs:: $(LIB)/libocs.$(SHARED_EXT)
  
  $(LIB)/libocs.$(SHARED_EXT): $(OCS_OBJS)
! 	$(C++LIB) -o $@ $(OCS_OBJS) $(OCS_LIBS)
  
  $(OBJ)/CosExternalization.o: $(OCS)/CosExternalization.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosExternalization.cxx
  $(OBJ)/CosLifeCycle.o: $(OCS)/CosLifeCycle.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosLifeCycle.cxx
  $(OBJ)/CosNaming.o: $(OCS)/CosNaming.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosNaming.cxx
  $(OBJ)/CosObjectIdentity.o: $(OCS)/CosObjectIdentity.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosObjectIdentity.cxx
  $(OBJ)/CosStream.o: $(OCS)/CosStream.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosStream.cxx
  $(OBJ)/base_types.o: $(OCS)/base_types.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/base_types.cxx
  $(OBJ)/corba.o: $(OCS)/corba.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/corba.cxx
  $(OBJ)/env.o: $(OCS)/env.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/env.cxx
  $(OBJ)/exchange.o: $(OCS)/exchange.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/exchange.cxx
  $(OBJ)/exchange_manager.o: $(OCS)/exchange_manager.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/exchange_manager.cxx
  $(OBJ)/hash_table.o: $(OCS)/hash_table.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/hash_table.cxx
  $(OBJ)/interface_def_impl.o: $(OCS)/interface_def_impl.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/interface_def_impl.cxx
  $(OBJ)/marshal_buffer.o: $(OCS)/marshal_buffer.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/marshal_buffer.cxx
  $(OBJ)/ocs_defs.o: $(OCS)/ocs_defs.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ocs_defs.cxx
  $(OBJ)/ocs_schema.o: $(OCS)/ocs_schema.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ocs_schema.cxx
  $(OBJ)/ox_ids.o: $(OCS)/ox_ids.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ox_ids.cxx
  $(OBJ)/repository.o: $(OCS)/repository.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/repository.cxx
  $(OBJ)/stub_impl.o: $(OCS)/stub_impl.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/stub_impl.cxx
  $(OBJ)/type_code.o: $(OCS)/type_code.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/type_code.cxx
--- 53,133 ----
  libs:: $(LIB)/libocs.$(SHARED_EXT)
  
  $(LIB)/libocs.$(SHARED_EXT): $(OCS_OBJS)
! 	$(C++LIB) -o $@ `lorder $(OCS_OBJS) | tsort` $(OCS_LIBS)
  
  $(OBJ)/CosExternalization.o: $(OCS)/CosExternalization.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosExternalization.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/CosLifeCycle.o: $(OCS)/CosLifeCycle.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosLifeCycle.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/CosNaming.o: $(OCS)/CosNaming.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosNaming.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/CosObjectIdentity.o: $(OCS)/CosObjectIdentity.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosObjectIdentity.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/CosStream.o: $(OCS)/CosStream.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/CosStream.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/base_types.o: $(OCS)/base_types.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/base_types.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/corba.o: $(OCS)/corba.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/corba.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/env.o: $(OCS)/env.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/env.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/exchange.o: $(OCS)/exchange.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/exchange.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/exchange_manager.o: $(OCS)/exchange_manager.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/exchange_manager.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/hash_table.o: $(OCS)/hash_table.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/hash_table.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/interface_def_impl.o: $(OCS)/interface_def_impl.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/interface_def_impl.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/marshal_buffer.o: $(OCS)/marshal_buffer.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/marshal_buffer.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/ocs_defs.o: $(OCS)/ocs_defs.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ocs_defs.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/ocs_schema.o: $(OCS)/ocs_schema.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ocs_schema.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/ox_ids.o: $(OCS)/ox_ids.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/ox_ids.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/repository.o: $(OCS)/repository.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/repository.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/stub_impl.o: $(OCS)/stub_impl.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/stub_impl.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/type_code.o: $(OCS)/type_code.cxx
  	$(C++OBJ) $(OCS_OPTS) -o $@ -c $(OCS)/type_code.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/text.mk Fresco96/build/X11/Makerules/text.mk
*** Fresco96.orig/build/X11/Makerules/text.mk	Wed May 15 13:26:22 1996
--- Fresco96/build/X11/Makerules/text.mk	Wed Aug 28 01:03:26 1996
***************
*** 19,51 ****
  libs:: $(LIB)/libtext.$(SHARED_EXT)
  
  $(LIB)/libtext.$(SHARED_EXT): $(TEXT_OBJS)
! 	$(C++LIB) -o $@ $(TEXT_OBJS) $(TEXT_LIBS)
  
  $(OBJ)/fmt_breakable.o: $(TEXT)/fmt_breakable.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_breakable.cxx
  $(OBJ)/fmt_composition.o: $(TEXT)/fmt_composition.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_composition.cxx
  $(OBJ)/fmt_simple.o: $(TEXT)/fmt_simple.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_simple.cxx
  $(OBJ)/fmt_update.o: $(TEXT)/fmt_update.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_update.cxx
  $(OBJ)/rich_string.o: $(TEXT)/rich_string.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_string.cxx
  $(OBJ)/rich_subject.o: $(TEXT)/rich_subject.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_subject.cxx
  $(OBJ)/rich_view.o: $(TEXT)/rich_view.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_view.cxx
  $(OBJ)/sequence.o: $(TEXT)/sequence.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/sequence.cxx
  $(OBJ)/txt_cheap.o: $(TEXT)/txt_cheap.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_cheap.cxx
  $(OBJ)/txt_control.o: $(TEXT)/txt_control.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_control.cxx
  $(OBJ)/txt_editor.o: $(TEXT)/txt_editor.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_editor.cxx
  $(OBJ)/txt_kit.o: $(TEXT)/txt_kit.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_kit.cxx
  $(OBJ)/txt_style.o: $(TEXT)/txt_style.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_style.cxx
  $(OBJ)/txt_subject.o: $(TEXT)/txt_subject.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_subject.cxx
--- 19,79 ----
  libs:: $(LIB)/libtext.$(SHARED_EXT)
  
  $(LIB)/libtext.$(SHARED_EXT): $(TEXT_OBJS)
! 	$(C++LIB) -o $@ `lorder $(TEXT_OBJS) | tsort` $(TEXT_LIBS)
  
  $(OBJ)/fmt_breakable.o: $(TEXT)/fmt_breakable.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_breakable.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fmt_composition.o: $(TEXT)/fmt_composition.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_composition.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fmt_simple.o: $(TEXT)/fmt_simple.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_simple.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/fmt_update.o: $(TEXT)/fmt_update.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/fmt_update.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rich_string.o: $(TEXT)/rich_string.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_string.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rich_subject.o: $(TEXT)/rich_subject.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_subject.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/rich_view.o: $(TEXT)/rich_view.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/rich_view.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/sequence.o: $(TEXT)/sequence.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/sequence.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_cheap.o: $(TEXT)/txt_cheap.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_cheap.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_control.o: $(TEXT)/txt_control.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_control.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_editor.o: $(TEXT)/txt_editor.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_editor.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_kit.o: $(TEXT)/txt_kit.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_style.o: $(TEXT)/txt_style.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_style.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/txt_subject.o: $(TEXT)/txt_subject.cxx
  	$(C++OBJ) $(TEXT_OPTS) -o $@ -c $(TEXT)/txt_subject.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/tiff.mk Fresco96/build/X11/Makerules/tiff.mk
*** Fresco96.orig/build/X11/Makerules/tiff.mk	Tue May  7 02:21:27 1996
--- Fresco96/build/X11/Makerules/tiff.mk	Wed Aug 28 00:35:06 1996
***************
*** 37,105 ****
  libs:: $(LIB)/libtiff.$(SHARED_EXT)
  
  $(LIB)/libtiff.$(SHARED_EXT): $(TIFF_OBJS)
! 	$(CLIB) -o $@ $(TIFF_OBJS) $(TIFF_LIBS)
  
  $(OBJ)/tif_aux.o: $(TIFF)/tif_aux.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_aux.c
  $(OBJ)/tif_close.o: $(TIFF)/tif_close.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_close.c
  $(OBJ)/tif_codec.o: $(TIFF)/tif_codec.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_codec.c
  $(OBJ)/tif_compress.o: $(TIFF)/tif_compress.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_compress.c
  $(OBJ)/tif_dir.o: $(TIFF)/tif_dir.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dir.c
  $(OBJ)/tif_dirinfo.o: $(TIFF)/tif_dirinfo.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirinfo.c
  $(OBJ)/tif_dirread.o: $(TIFF)/tif_dirread.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirread.c
  $(OBJ)/tif_dirwrite.o: $(TIFF)/tif_dirwrite.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirwrite.c
  $(OBJ)/tif_dumpmode.o: $(TIFF)/tif_dumpmode.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dumpmode.c
  $(OBJ)/tif_error.o: $(TIFF)/tif_error.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_error.c
  $(OBJ)/tif_fax3.o: $(TIFF)/tif_fax3.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_fax3.c
  $(OBJ)/tif_fax3sm.o: $(TIFF)/tif_fax3sm.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_fax3sm.c
  $(OBJ)/tif_getimage.o: $(TIFF)/tif_getimage.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_getimage.c
  $(OBJ)/tif_jpeg.o: $(TIFF)/tif_jpeg.c
  	$(COBJ) $(TIFF_OPTS) $(JPEG_OPTS) -o $@ -c $(TIFF)/tif_jpeg.c
  $(OBJ)/tif_flush.o: $(TIFF)/tif_flush.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_flush.c
  $(OBJ)/tif_lzw.o: $(TIFF)/tif_lzw.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_lzw.c
  $(OBJ)/tif_next.o: $(TIFF)/tif_next.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_next.c
  $(OBJ)/tif_open.o: $(TIFF)/tif_open.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_open.c
  $(OBJ)/tif_packbits.o: $(TIFF)/tif_packbits.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_packbits.c
  $(OBJ)/tif_pixarlog.o: $(TIFF)/tif_pixarlog.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_pixarlog.c
  $(OBJ)/tif_predict.o: $(TIFF)/tif_predict.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_predict.c
  $(OBJ)/tif_print.o: $(TIFF)/tif_print.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_print.c
  $(OBJ)/tif_read.o: $(TIFF)/tif_read.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_read.c
  $(OBJ)/tif_swab.o: $(TIFF)/tif_swab.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_swab.c
  $(OBJ)/tif_strip.o: $(TIFF)/tif_strip.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_strip.c
  $(OBJ)/tif_thunder.o: $(TIFF)/tif_thunder.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_thunder.c
  $(OBJ)/tif_tile.o: $(TIFF)/tif_tile.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_tile.c
  $(OBJ)/tif_unix.o: $(TIFF)/tif_unix.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_unix.c
  $(OBJ)/tif_version.o: $(TIFF)/tif_version.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_version.c
  $(OBJ)/tif_warning.o: $(TIFF)/tif_warning.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_warning.c
  $(OBJ)/tif_write.o: $(TIFF)/tif_write.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_write.c
  $(OBJ)/tif_zip.o: $(TIFF)/tif_zip.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_zip.c
--- 37,169 ----
  libs:: $(LIB)/libtiff.$(SHARED_EXT)
  
  $(LIB)/libtiff.$(SHARED_EXT): $(TIFF_OBJS)
! 	$(CLIB) -o $@ `lorder $(TIFF_OBJS) | tsort` $(TIFF_LIBS)
  
  $(OBJ)/tif_aux.o: $(TIFF)/tif_aux.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_aux.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_close.o: $(TIFF)/tif_close.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_close.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_codec.o: $(TIFF)/tif_codec.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_codec.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_compress.o: $(TIFF)/tif_compress.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_compress.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_dir.o: $(TIFF)/tif_dir.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dir.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_dirinfo.o: $(TIFF)/tif_dirinfo.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirinfo.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_dirread.o: $(TIFF)/tif_dirread.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirread.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_dirwrite.o: $(TIFF)/tif_dirwrite.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dirwrite.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_dumpmode.o: $(TIFF)/tif_dumpmode.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_dumpmode.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_error.o: $(TIFF)/tif_error.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_error.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_fax3.o: $(TIFF)/tif_fax3.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_fax3.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_fax3sm.o: $(TIFF)/tif_fax3sm.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_fax3sm.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_getimage.o: $(TIFF)/tif_getimage.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_getimage.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_jpeg.o: $(TIFF)/tif_jpeg.c
  	$(COBJ) $(TIFF_OPTS) $(JPEG_OPTS) -o $@ -c $(TIFF)/tif_jpeg.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_flush.o: $(TIFF)/tif_flush.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_flush.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_lzw.o: $(TIFF)/tif_lzw.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_lzw.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_next.o: $(TIFF)/tif_next.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_next.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_open.o: $(TIFF)/tif_open.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_open.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_packbits.o: $(TIFF)/tif_packbits.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_packbits.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_pixarlog.o: $(TIFF)/tif_pixarlog.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_pixarlog.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_predict.o: $(TIFF)/tif_predict.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_predict.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_print.o: $(TIFF)/tif_print.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_print.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_read.o: $(TIFF)/tif_read.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_read.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_swab.o: $(TIFF)/tif_swab.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_swab.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_strip.o: $(TIFF)/tif_strip.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_strip.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_thunder.o: $(TIFF)/tif_thunder.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_thunder.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_tile.o: $(TIFF)/tif_tile.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_tile.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_unix.o: $(TIFF)/tif_unix.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_unix.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_version.o: $(TIFF)/tif_version.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_version.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_warning.o: $(TIFF)/tif_warning.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_warning.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_write.o: $(TIFF)/tif_write.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_write.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tif_zip.o: $(TIFF)/tif_zip.c
  	$(COBJ) $(TIFF_OPTS) -o $@ -c $(TIFF)/tif_zip.c
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/build/X11/Makerules/widgets.mk Fresco96/build/X11/Makerules/widgets.mk
*** Fresco96.orig/build/X11/Makerules/widgets.mk	Wed May 15 13:27:17 1996
--- Fresco96/build/X11/Makerules/widgets.mk	Wed Aug 28 01:06:28 1996
***************
*** 22,60 ****
  libs:: $(LIB)/libwidgets.$(SHARED_EXT)
  
  $(LIB)/libwidgets.$(SHARED_EXT): $(WIDGETS_OBJS)
! 	$(C++LIB) -o $@ $(WIDGETS_OBJS) $(WIDGETS_LIBS)
  
  $(OBJ)/applics.o: $(WIDGETS)/applics.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/applics.cxx
  $(OBJ)/bevel.o: $(WIDGETS)/bevel.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/bevel.cxx
  $(OBJ)/bfloat.o: $(WIDGETS)/bfloat.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/bfloat.cxx
  $(OBJ)/buttons.o: $(WIDGETS)/buttons.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/buttons.cxx
  $(OBJ)/chooser.o: $(WIDGETS)/chooser.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/chooser.cxx
  $(OBJ)/dialog_kit.o: $(WIDGETS)/dialog_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/dialog_kit.cxx
  $(OBJ)/field.o: $(WIDGETS)/field.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/field.cxx
  $(OBJ)/menu_bar.o: $(WIDGETS)/menu_bar.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_bar.cxx
  $(OBJ)/menu_box.o: $(WIDGETS)/menu_box.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_box.cxx
  $(OBJ)/menu_item.o: $(WIDGETS)/menu_item.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_item.cxx
  $(OBJ)/menu_kit.o: $(WIDGETS)/menu_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_kit.cxx
  $(OBJ)/menu_manager.o: $(WIDGETS)/menu_manager.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_manager.cxx
  $(OBJ)/popup_menu.o: $(WIDGETS)/popup_menu.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/popup_menu.cxx
  $(OBJ)/slider.o: $(WIDGETS)/slider.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/slider.cxx
  $(OBJ)/stepper.o: $(WIDGETS)/stepper.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/stepper.cxx
  $(OBJ)/tool_bar.o: $(WIDGETS)/tool_bar.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/tool_bar.cxx
  $(OBJ)/widget_kit.o: $(WIDGETS)/widget_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/widget_kit.cxx
--- 22,94 ----
  libs:: $(LIB)/libwidgets.$(SHARED_EXT)
  
  $(LIB)/libwidgets.$(SHARED_EXT): $(WIDGETS_OBJS)
! 	$(C++LIB) -o $@ `lorder $(WIDGETS_OBJS) | tsort` $(WIDGETS_LIBS)
  
  $(OBJ)/applics.o: $(WIDGETS)/applics.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/applics.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/bevel.o: $(WIDGETS)/bevel.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/bevel.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/bfloat.o: $(WIDGETS)/bfloat.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/bfloat.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/buttons.o: $(WIDGETS)/buttons.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/buttons.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/chooser.o: $(WIDGETS)/chooser.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/chooser.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/dialog_kit.o: $(WIDGETS)/dialog_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/dialog_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/field.o: $(WIDGETS)/field.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/field.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu_bar.o: $(WIDGETS)/menu_bar.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_bar.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu_box.o: $(WIDGETS)/menu_box.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_box.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu_item.o: $(WIDGETS)/menu_item.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_item.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu_kit.o: $(WIDGETS)/menu_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/menu_manager.o: $(WIDGETS)/menu_manager.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/menu_manager.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/popup_menu.o: $(WIDGETS)/popup_menu.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/popup_menu.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/slider.o: $(WIDGETS)/slider.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/slider.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/stepper.o: $(WIDGETS)/stepper.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/stepper.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/tool_bar.o: $(WIDGETS)/tool_bar.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/tool_bar.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
  $(OBJ)/widget_kit.o: $(WIDGETS)/widget_kit.cxx
  	$(C++OBJ) $(WIDGETS_OPTS) -o $@ -c $(WIDGETS)/widget_kit.cxx
+ 	ld -x -r $@
+ 	mv -f a.out $@
diff -acr Fresco96.orig/doc/examples/button.cxx Fresco96/doc/examples/button.cxx
*** Fresco96.orig/doc/examples/button.cxx	Wed May  8 05:58:08 1996
--- Fresco96/doc/examples/button.cxx	Wed Aug 28 02:58:23 1996
***************
*** 12,19 ****
--- 12,30 ----
  
  class App {
  public:
+ #ifdef __FreeBSD__
+     void push_me();
+ #else
      void push_me() { printf("pushed\n"); }
+ #endif
  };
+ 
+ #ifdef __FreeBSD__
+ void App::push_me()
+ { 
+   printf("pushed\n"); 
+ }
+ #endif
  
  declareActionCallback(App)
  implementActionCallback(App)
diff -acr Fresco96.orig/doc/examples/examples.cxx Fresco96/doc/examples/examples.cxx
*** Fresco96.orig/doc/examples/examples.cxx	Thu May 16 07:02:24 1996
--- Fresco96/doc/examples/examples.cxx	Wed Sep  4 02:00:29 1996
***************
*** 75,80 ****
--- 75,84 ----
  
  class ChooserCallbacks {
  public:
+ #ifdef __FreeBSD__
+     void apply();
+     void cancel();
+ #else
      void apply() {
  	CosNaming::Name* example = chooser->path();
  	launch_example(example);
***************
*** 83,89 ****
--- 87,108 ----
      void cancel() {
  	done();
      }
+ #endif
  };
+ 
+ #ifdef __FreeBSD__
+ void ChooserCallbacks::apply() 
+ {
+     CosNaming::Name* example = chooser->path();
+     launch_example(example);
+     delete example;
+ }
+ 
+ void ChooserCallbacks::cancel() 
+ {
+     done();
+ }
+ #endif
  
  declareActionCallback(ChooserCallbacks);
  implementActionCallback(ChooserCallbacks);
diff -acr Fresco96.orig/doc/examples/exampleslib.cxx Fresco96/doc/examples/exampleslib.cxx
*** Fresco96.orig/doc/examples/exampleslib.cxx	Thu May 16 02:21:22 1996
--- Fresco96/doc/examples/exampleslib.cxx	Wed Aug 28 03:05:32 1996
***************
*** 160,165 ****
--- 160,168 ----
  
  class HelpCallback {
  public:
+ #ifdef __FreeBSD__
+     void help();
+ #else
      void help() {
  	WidgetKit_var widgets = Fresco_resolve_object(WidgetKit, "widgets");
  	DialogKit_var dialogs = widgets->dialog_kit();
***************
*** 171,177 ****
--- 174,196 ----
  	help_dialog->hide_choice(MessageDialog::help);
  	help_dialog->post_modal_choice(nil);
      }
+ #endif
  };
+ 
+ #ifdef __FreeBSD__
+ void HelpCallback::help() 
+ {
+     WidgetKit_var widgets = Fresco_resolve_object(WidgetKit, "widgets");
+     DialogKit_var dialogs = widgets->dialog_kit();
+     
+     help_dialog = dialogs->information(
+         FrescoLib::tmp_string_ref("Collaborative Fresco"),
+         Glyph_var(formatted_text_box(help_msg))
+     );
+     help_dialog->hide_choice(MessageDialog::help);
+     help_dialog->post_modal_choice(nil);
+ }
+ #endif
  
  declareActionCallback(HelpCallback);
  implementActionCallback(HelpCallback);
diff -acr Fresco96.orig/idl/corba.cxx Fresco96/idl/corba.cxx
*** Fresco96.orig/idl/corba.cxx	Sat Apr 13 09:33:06 1996
--- Fresco96/idl/corba.cxx	Thu Aug 29 23:42:00 1996
***************
*** 37,43 ****
  #ifdef _WIN32
  #include <winsock.h>
  #else
! #if !defined(__linux)
  #if defined(__osf__)
  #include <standards.h>
  _BEGIN_CPLUSPLUS
--- 37,43 ----
  #ifdef _WIN32
  #include <winsock.h>
  #else
! #if !defined(__linux) && !defined(__FreeBSD__)
  #if defined(__osf__)
  #include <standards.h>
  _BEGIN_CPLUSPLUS
***************
*** 139,145 ****
  static char* UniqueId() {
      char * id = new char[100];
      strcpy(id, "IDL:");
! #if defined(_WIN32) || defined(__linux)
      gethostname(id+4, 20);
      int pos = strlen(id);
  #ifdef _WIN32
--- 139,145 ----
  static char* UniqueId() {
      char * id = new char[100];
      strcpy(id, "IDL:");
! #if defined(_WIN32) || defined(__linux) || defined(__FreeBSD__)
      gethostname(id+4, 20);
      int pos = strlen(id);
  #ifdef _WIN32
***************
*** 152,158 ****
      int pid = getpid();
  #endif
      static int count = 0;
!     sprintf(id + pos, "_%x_%x", pid, ++count);
      return id;
  }
  
--- 152,158 ----
      int pid = getpid();
  #endif
      static int count = 0;
!     sprintf(id + pos, "_%x_%x", (unsigned int)pid, ++count);
      return id;
  }
  
diff -acr Fresco96.orig/idl/ixx_main.cxx Fresco96/idl/ixx_main.cxx
*** Fresco96.orig/idl/ixx_main.cxx	Wed May 15 13:54:10 1996
--- Fresco96/idl/ixx_main.cxx	Tue Aug 27 00:47:28 1996
***************
*** 391,397 ****
      stage("finish");
  }
  
! #if !defined(AIXV3) && !defined(__osf__)
  extern "C" {
      void* sbrk(int);
  }
--- 391,397 ----
      stage("finish");
  }
  
! #if !defined(AIXV3) && !defined(__osf__) && !defined(__FreeBSD__)
  extern "C" {
      void* sbrk(int);
  }



$B"((B2 ---------- $B%5%s%W%k%W%m%0%i%`(B t1-1.cxx ------------------------------
#include <Fresco/base/fresco.h>
#include <Fresco/defs/figures.h>

int main(int argc, char** argv) {
  FrescoContext* fc = FrescoLib::init_default_context(
      "FTutorial", argc, argv
  );
  CharString_var hello = FrescoLib::string_ref("hello");
  FigureKit_var figures = Fresco_resolve_object(FigureKit, "figures");
  FigureStyle_var figstyle = figures->default_style();
  Glyph_var label = figures->label(figstyle, hello);
  FrescoLib::run(nil, label);
  CORBA::release(fc);
  return 0;
}

$B"((B3 ----- $B%G%P%C%0%;%C%7%g%s$NMM;R(B ($BF|K\8lItJ,$O>>ED$K$h$k%3%a%s%H(B)

Current directory is /home/omatsuda/work/fresco/Fresco96/build/X11/
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.13 (i386-unknown-freebsd), 
Copyright 1994 Free Software Foundation, Inc...
(gdb) run
Starting program: /home/omatsuda/work/fresco/Fresco96/build/X11/t1-1 

Program received signal SIGSEGV, Segmentation fault.
0x83f56f3 in end ()     <--- $BAv$i$;$k$H$3$N$h$&$K;`$L!#(B

$B@_Dj$7$?%V%l!<%/%]%$%s%H(B ($B9THV9f$N2#$N(B -> $B$NItJ,(B)

Breakpoint 1 at 0x1760: file ../../tutorial/t1-1.cxx, line 12.

     4  int main(int argc, char** argv) {
     5    FrescoContext* fc = FrescoLib::init_default_context(
     6        "FTutorial", argc, argv
     7    );
     8    CharString_var hello = FrescoLib::string_ref("hello");
     9    FigureKit_var figures = Fresco_resolve_object(FigureKit, "figures");
    10    FigureStyle_var figstyle = figures->default_style();
    11    Glyph_var label = figures->label(figstyle, hello);
    12    FrescoLib::run(nil, label);
->  13    CORBA::release(fc);
    14    return 0;
    15  }
             
Breakpoint 2 at 0x8085d5f: file ../../Fresco/base/fresco_lib.cxx, line 708.
Breakpoint 4 at 0x8085da8: file ../../Fresco/base/fresco_lib.cxx, line 709.

   682  void FrescoLib::run(Viewer_ptr v, Glyph_ptr g) {
   683      FrescoContext* fc = FrescoLib::current_context();
   684      fresco_assert(! is_nil(fc));
   685      Display_var d = fc->display_ptr();
   686      if (is_nil(d)) {
   687          d = DisplayContext_var(fc->display_context())->open_default();
   688          if (is_nil(d)) {
   689              // should raise an exception
   690              fresco_fail("can't open default display");
   691          }
   692          fc->default_drawing_kit(DrawingKit_var(d->drawing_kit()));
   693      }
   694      Screen_var s = d->default_screen();
   695      Viewer_var nv;
   696      if (is_nil(g)) {
   697          nv = Viewer::_duplicate(v);
   698      } else {
   699          if (is_nil(v)) {
   700              nv = new BgViewer;
   701          } else {
   702              nv = new ViewerImpl(true);
   703              nv->append_viewer(v);
   704          }
   705          nv->body(g);
   706      }
   707      Window_var w = s->application(nv);
-> 708      w->map();
-> 709      d->run(true);
   710  }

Breakpoint 3 at 0x811a7f7: file ../../Fresco/defs/display.cxx, line 709.

-> 709  void XfWindow::map(_Ix_Env& _env) {
   710      OcsStubImpl::ParamValue _arg[1];
   711      OcsStubImpl::call(this, _XfWindow_methods[16], _arg, _env);
   712  }
 
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/omatsuda/work/fresco/Fresco96/build/X11/t1-1 

Breakpoint 1, main (argc=1, argv=0xefbfdb98) at ../../tutorial/t1-1.cxx:12
(gdb) c
Continuing.

Breakpoint 2, FrescoLib::run (v=0x0, g=0x128f4)
    at ../../Fresco/base/fresco_lib.cxx:708
(gdb) print w                       <-   w->map()$B$N@5BN$rD4$Y$k!#(B
$1 = {_ptr = 0xa0b8}
(gdb) p w._ptr
$2 = (XfWindow *) 0xa0b8
(gdb) info line XfWindow::map
Line 709 of "../../Fresco/defs/display.cxx"
   starts at address 0x811a7f7 <map__8XfWindowR6OcsEnv>  <- $B@h$N(B BP3 $B$HF1$8(B
   and ends at 0x811a80e <map__8XfWindowR6OcsEnv+23>.
(gdb) disas $pc $pc+70              <-   machine code $B$O$I$&$J$C$F$k$+(B?
Dump of assembler code from 0x8085d5f to 0x8085da5:
0x8085d5f <run__9FrescoLibP8XfViewerP7XfGlyph+1193>:	
    leal   0xffffffe4(%ebp),%eax
0x8085d62 <run__9FrescoLibP8XfViewerP7XfGlyph+1196>:	pushl  %eax
0x8085d63 <run__9FrescoLibP8XfViewerP7XfGlyph+1197>:	
    call   0x80876bc <__rf__C12XfWindow_var>
0x8085d68 <run__9FrescoLibP8XfViewerP7XfGlyph+1202>:	addl   $0x4,%esp
0x8085d6b <run__9FrescoLibP8XfViewerP7XfGlyph+1205>:	movl   %eax,%edx
0x8085d6d <run__9FrescoLibP8XfViewerP7XfGlyph+1207>:	movl   %edx,%eax
0x8085d6f <run__9FrescoLibP8XfViewerP7XfGlyph+1209>:	movl   0x4(%eax),%esi
0x8085d72 <run__9FrescoLibP8XfViewerP7XfGlyph+1212>:	addl   $0xd0,%esi
0x8085d78 <run__9FrescoLibP8XfViewerP7XfGlyph+1218>:	
    movl   %esi,0xffffff88(%ebp)
0x8085d7b <run__9FrescoLibP8XfViewerP7XfGlyph+1221>:	
    movl   0xffffff88(%ebp),%edx
0x8085d7e <run__9FrescoLibP8XfViewerP7XfGlyph+1224>:	movl   0x1c(%ebx),%ecx
0x8085d84 <run__9FrescoLibP8XfViewerP7XfGlyph+1230>:	
    movl   %ecx,0xffffff98(%ebp)
0x8085d87 <run__9FrescoLibP8XfViewerP7XfGlyph+1233>:	
    movl   0xffffff98(%ebp),%esi
0x8085d8a <run__9FrescoLibP8XfViewerP7XfGlyph+1236>:	
    movl   %esi,0xffffff88(%ebp)
0x8085d8d <run__9FrescoLibP8XfViewerP7XfGlyph+1239>:	pushl  0xffffff88(%ebp)
0x8085d90 <run__9FrescoLibP8XfViewerP7XfGlyph+1242>:	movswl (%edx),%ecx
0x8085d93 <run__9FrescoLibP8XfViewerP7XfGlyph+1245>:	
    movl   %ecx,0xffffff88(%ebp)
0x8085d96 <run__9FrescoLibP8XfViewerP7XfGlyph+1248>:	
    addl   0xffffff88(%ebp),%eax
0x8085d99 <run__9FrescoLibP8XfViewerP7XfGlyph+1251>:	pushl  %eax
0x8085d9a <run__9FrescoLibP8XfViewerP7XfGlyph+1252>:	movl   0x4(%edx),%esi
0x8085d9d <run__9FrescoLibP8XfViewerP7XfGlyph+1255>:	
    movl   %esi,0xffffff94(%ebp)
0x8085da0 <run__9FrescoLibP8XfViewerP7XfGlyph+1258>:	
    movl   0xffffff94(%ebp),%ecx
0x8085da3 <run__9FrescoLibP8XfViewerP7XfGlyph+1261>:	call   *%ecx
                              <-  $B$3$N$"$?$j$,(B map() $B$N8F$S=P$7$H4X78$"$j$=$&(B
End of assembler dump. 
(gdb) break *0x8085da3
Breakpoint 5 at 0x8085da3: file ../../Fresco/base/fresco_lib.cxx, line 708.
(gdb) c
Continuing.

Breakpoint 5, 0x8085da3 in FrescoLib::run (v=0x0, g=0x128f4)
    at ../../Fresco/base/fresco_lib.cxx:708
(gdb) display/i $pc
2: x/i $eip  0x8085da3 <run__9FrescoLibP8XfViewerP7XfGlyph+1261>:	
    call   *%ecx
(gdb) stepi
0x835db88 in end ()
2: x/i $eip  0x835db88 <end+86776>:	pushl  %ebp
                      <- map()$B$H$O0c$&%"%I%l%9$KHt$s$@!#(B
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x83f56f3 in end ()
2: x/i $eip  0x83f56f3 <end+708195>:	movl   (%edx),%ecx
                     <- BP3, 4$B$K$+$+$kA0$K;`$s$G$$$k!#(B

