[Gc] 6.2 alpha 6 on MacOSX

Boehm, Hans hans_boehm@hp.com
Mon, 16 Jun 2003 15:32:46 -0700


Manuel -

Thanks.  The patch looks correct.  I replaced all remaining occurrences of MACOSX
in Makefile/Makefile.direct with DARWIN.  I suspect prior testing was done
with the GNU-style "configure; make", or in the gcc context, neither of which
use or test any of this.

Hans

> -----Original Message-----
> From: Manuel Serrano [mailto:Manuel.Serrano@sophia.inria.fr]
> Sent: Monday, June 16, 2003 3:04 AM
> To: gc@napali.hpl.hp.com
> Subject: [Gc] 6.2 alpha 6 on MacOSX
> 
> 
> I'm a little bit confused with the new GC version on MacOSX. I have 
> been obliged to patch the Makefile otherwise, my compilation 
> failed with the 
> link error:
> 
> ld: Undefined symbols:
> _GC_push_regs
> 
> -- 
> Manuel
> 
> ps: 
> 
> Here is a description of the Mac I'm testing:
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|--
> ---|-----|-----
> [macrame:~/bigloo2.6a] mserrano% uname -a
> Darwin macrame 6.6 Darwin Kernel Version 6.6: Thu May  1 
> 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC  
> Power Macintosh powerpc
> [macrame:~/bigloo2.6a] mserrano% gcc -v
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> Thread model: posix
> Apple Computer, Inc. GCC version 1151, based on gcc version 
> 3.1 20020420 (prerelease)
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|--
> ---|-----|-----
> 
> The patch:
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|--
> ---|-----|-----
> *** Makefile.old        Mon Jun 16 12:05:19 2003
> --- Makefile    Mon Jun 16 12:05:32 2003
> ***************
> *** 530,535 ****
> --- 530,536 ----
>         ./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
> -----|-----|-----|-----|-----|-----|-----|-----|-----|-----|--
> ---|-----|-----
> _______________________________________________
> Gc mailing list
> Gc@linux.hpl.hp.com
> http://linux.hpl.hp.com/cgi-bin/mailman/listinfo/gc
>