[Gc] 6.2 alpha 6 on MacOSX

Manuel Serrano Manuel.Serrano@sophia.inria.fr
Mon, 16 Jun 2003 12:03:49 +0200

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:



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