Subject: Re: 64 bit packages on OS X?
To: John Klos <firstname.lastname@example.org>
From: Adrian Portelli <email@example.com>
Date: 12/09/2007 23:15:01
John Klos wrote:
> Does anyone know how to simply get OS X to build and use 64 bit packages
> on OS X? I've set CFLAGS, CCFLAGS, and CXXFLAGS to -arch x86_64 and
> ppc64 on Intel and PowerPC machines respectively, but bootstrap only
> gets to here:
> gcc *.o lst.lib/*.o -o bmake.boot -L../../libnbcompat -lnbcompat
> ld: warning in arch.o, file is not of required architecture
> ld: warning in buf.o, file is not of required architecture
> John Klos
-arch is a good start
Have a look at this as well:
It mentions additional CFLAGS you need to set. I was pointed to this
document when playing with fat binaries on OS/X using pkgsrc. There may
be some hints in there for you as well.
If you could say what version of OS/X your on, what architecture your
build host is and name a package you're having issues with then I might
be able to help you out a little more.