If a requires b and b only has ppc bits, then you can only build the ppc bits for a, the linker likes to keep architectures separate. I think this is actually one of the main features Mach-o format. The other question you asked is why the values for RC_ARCHS need to be lower case. I'm thinking this has to do with the fact that all of the tools want the values to be lowercase (man lipo for details). I have no idea how this came about. _Mark On Dec 20, 2005, at 1:03 PM, Philip Rinehart wrote:
ah, so that's interesting, if you build xnu as ppc, you then need to build all further projects as ppc only?
Philip
On Dec 20, 2005, at 3:52 PM, Kevin Van Vechten wrote:
Interesting, so the error appears to be:
/usr/include/machine/_types.h:28:25: i386/_types.h: No such file or directory
But /usr/include/i386/_types.h should be defined by xnu, which is in your list of installed roots.
However, I'm noticing the xnu root checksum in your build log (cfff9c6ca1a8d8e0dee68ddea386e844c2e817a5) differs from the one in the 8F46 roots on opendarwin.org (c651cd7d2d8d102b4e297effb5fa951989fc2ba1), so I'm guessing you built xnu locally, with RC_ARCHS="ppc", and it therefore doesn't have the i386 headers?
- Kevin
On Dec 20, 2005, at 11:41 AM, Philip Rinehart wrote:
<perl-35.log~1>
It appears to be dying in the machine type defs.
Philip
Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 cluster.support@yale.edu philip.rinehart@yale.edu
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild