[darwinbuild] Selecting arch to build for

Alastair Rankine arsptr at optusnet.com.au
Thu Aug 4 04:35:42 PDT 2005

(Darwinports newbie, obviously)

So it seems that when you build xnu, it builds a ppc/i386 universal 
binary. What is the darwinbuild magic to disable this and allow me to 
build a kernel that will run on my Powerbook G4?

I tried modifying the .build/8C46.plist file to add the following to the 
xnu definition:

            environment = {
                RC_ARCHS = "ppc";

But no dice. What am I missing?

Alternatively, how can I turn the universal binary back into a bootable 
PPC binary? (possibly not a darwinbuild question)

More information about the darwinbuild-dev mailing list