[Gc] DARWIN or MACOSX in gc6.2alpha6/Makefile?

Boehm, Hans hans_boehm@hp.com
Thu, 3 Jul 2003 10:49:27 -0700


I believe this is already fixed in the final 6.2 version.  If you rely on thread support,
I strongly recommend upgrading to that, since it fixes a serious intermittent bug in
GC_pthread_detach.

Hans

> -----Original Message-----
> From: Dan Grayson [mailto:dan@math.uiuc.edu]
> Sent: Wednesday, July 02, 2003 11:02 PM
> To: gc@napali.hpl.hp.com
> Subject: [Gc] DARWIN or MACOSX in gc6.2alpha6/Makefile?
> 
> 
> 
> There seems to be some confusion about whether to use MACOSX 
> or DARWIN as an
> identifier.  I had to make the following change to get 
> _GC_push_regs to be
> defined.
> 
> diff -ur 
> /opt/capybara-0.5/share/capybara/packages/gc/TMP/tmp/gc6.2alph
> a6/Makefile gc6.2alpha6/Makefile
> --- 
> /opt/capybara-0.5/share/capybara/packages/gc/TMP/tmp/gc6.2alph
> a6/Makefile	Thu Jun  5 18:11:58 2003
> +++ gc6.2alpha6/Makefile	Thu Jul  3 00:51:46 2003
> @@ -498,7 +498,7 @@
>  	 | ./if_mach MIPS IRIX5 grep -v "^\#" > 
> $(srcdir)/mips_sgi_mach_dep.s
>  	./if_mach MIPS RISCOS $(AS) -o mach_dep.o 
> $(srcdir)/mips_ultrix_mach_dep.s
>  	./if_mach MIPS ULTRIX $(AS) -o mach_dep.o 
> $(srcdir)/mips_ultrix_mach_dep.s
> -	./if_mach POWERPC MACOSX $(AS) -o mach_dep.o 
> $(srcdir)/powerpc_darwin_mach_dep.s
> +	./if_mach POWERPC DARWIN $(AS) -o mach_dep.o 
> $(srcdir)/powerpc_darwin_mach_dep.s
>  	./if_mach ALPHA LINUX $(CC) -c -o mach_dep.o 
> $(srcdir)/alpha_mach_dep.S
>  	./if_mach SPARC SUNOS5 $(CC) -c -o mach_dep.o 
> $(srcdir)/sparc_mach_dep.S
>  	./if_mach SPARC SUNOS4 $(AS) -o mach_dep.o 
> $(srcdir)/sparc_sunos4_mach_dep.s
> @@ -546,7 +546,7 @@
>  	./if_mach SPARC DRSNX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a 
> $(CURSES) -lucb `./threadlibs`
>  	./if_mach HP_PA HPUX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a 
> $(CURSES) -ldld `./threadlibs`
>  	./if_mach RS6000 "" $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a -lcurses
> -	./if_mach POWERPC MACOSX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a
> +	./if_mach POWERPC DARWIN $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a
>  	./if_mach I386 LINUX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a 
> -lcurses `./threadlibs`
>  	./if_mach ALPHA LINUX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a 
> -lcurses `./threadlibs`
>  	./if_mach IA64 LINUX $(CC) $(CFLAGS) -o cord/de 
> $(srcdir)/cord/de.c cord/cordbscs.o cord/cordxtra.o gc.a 
> -lcurses `./threadlibs`
> _______________________________________________
> Gc mailing list
> Gc@linux.hpl.hp.com
> http://linux.hpl.hp.com/cgi-bin/mailman/listinfo/gc
>