Earlier, I wrote:
Having FSF binutils and FSF gcc on Darwin would have been nice, and this was what the old OpenDarwin project was trying to do.
Actually OpenDarwin wasn't using GNU/FSF binutils/gcc (my error), they were of course using their own (Open)Darwin cctools and gcc...
Mac OS X is only *based* on Unix, it's not really a standard Unix*. Darwin was almost a BSD, but it's not really stand-alone anymore...
This was maybe a bit pessimistic, since Leopard is even registered UNIX now: http://www.apple.com/macosx/leopard/technology/unix.html
But I don't think that you can use the FSF binutils/gcc to do so, but have to use the Apple cctools/gcc (or Darwin odcctools/gcc) ?
These packages are working fine for me for working with OpenPKG RPM: http://www.algonet.se/~afb/openpkg/odcctools.spec (replaces binutils) http://www.algonet.se/~afb/openpkg/darwin-gcc.spec (replaces gcc-4.0.1) The cctools are without the SDK, and the gcc is with a shared libgcc. They should be very similar to the ones that came with Xcode 2.4.0... (except for the cross-compilation feature of the regular /usr builds) Using this assembler/compiler and the overrides for -search_path_first, I can build most of the available packages I've tried in OpenPKG so far. (since it's the Apple versions, they understand all weird flags etc...) --anders ______________________________________________________________________ OpenPKG http://openpkg.org Developer Communication List openpkg-dev@openpkg.org