[Gc] NetBSD/Sparc

Boehm, Hans hans.boehm at hp.com
Tue Mar 22 15:32:47 PST 2005


Thanks.

I have a different patch in my tree that uses machine/frame.h
instead of sparc/frame.h on NETBSD.  Do those point to the
same place?  If so, I'll use the current patch, since it seems
marginally cleaner and shorter (FREEBSD and NETBSD are the same).
If not, let me know, and I'll use this patch.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Juan Jose 
> Garcia Ripoll
> Sent: Monday, March 21, 2005 2:07 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] NetBSD/Sparc
> 
> 
> Hi,
> 
> some people in the ECL mailing list (http://ecls.sf.net) have 
> contributed the following patch that allows the garbage 
> collector (and 
> hence our lisp environment) to build on NetBSD/Sparc.
> 
> Regards,
> 
> Juanjo
> 
> 
> Index: src/gc/os_dep.c 
> ===================================================================
> RCS file: /cvsroot/ecls/ecls/src/gc/os_dep.c,v
> retrieving revision 1.7
> diff -u -r1.7 os_dep.c
> --- src/gc/os_dep.c	11 Mar 2005 09:38:49 -0000	1.7
> +++ src/gc/os_dep.c	19 Mar 2005 06:38:41 -0000
> @@ -3950,13 +3950,17 @@
>   #      if defined (DRSNX)
>   #	 include <sys/sparc/frame.h>
>   #      else
> -#	 if defined(OPENBSD) || defined(NETBSD)
> +#	 if defined(OPENBSD)
>   #	   include <frame.h>
>   #	 else
>   #	   if defined(FREEBSD)
>   #	     include <machine/frame.h>
>   #	   else
> -#	     include <sys/frame.h>
> +#	     if defined(NETBSD)
> +#	       include <sparc/frame.h>
> +#	     else
> +#	       include <sys/frame.h>
> +#	     endif
>   #	   endif
>   #	 endif
>   #      endif
> 
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com 
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list