[Gc] gc on Mac OS X Universal Binary (ppc + i386)?

Andrew Stone andrew at stone.com
Thu Dec 8 09:35:00 PST 2005

I've been using gc on darwin/Mac OS X powerpc for years and years -  
it's great!

Now that "MacIntel" is on the horizon, we'd love to build gc "fat" -  
that is for both i386 intel processor and ppc - but it the build  
fails here:

# if defined(macosx) || (defined(__APPLE__) && defined(__MACH__))
#   define DARWIN
#   if defined(__ppc__)  || defined(__ppc64__)
#    define POWERPC
#    define mach_type_known
#   elif defined(__i386__)
#    define I386
      --> Not really supported, but at least we recognize it.
#   endif
# endif

What's involved to really get it to build? Anyone tried?

Andrew Stone

More information about the Gc mailing list