Compile XNU

Status
Not open for further replies.
Joined
May 27, 2006
Messages
445
Reaction score
16
Points
18
Location
Concord, NC
Your Mac's Specs
Macbook Pro 17" 2.6GHz 4GB RAM
Anyone successfully compile XNU on an intel mac? I keep running into the following error:

== Making relpath for i386 ==
Pre-build setup...
/bin/rm -f /tmp/relpath.build/derived_src/TrustedPrecomps.txt
Building...
/usr/bin/cc -arch i386 -Os -Wmost -g -fno-common -I/tmp/relpath.build/ProjectHeaders -I -I -I/tmp/relpath.build/derived_src -I. -pipe -c -o /tmp/relpath.build/objects-optimized/relpath.i386.o relpath.c
cc: installation problem, cannot exec `cc1': No such file or directory
make: *** [/tmp/relpath.build/objects-optimized/relpath.i386.o] Error 1

I've followed the instructions carefully from Apple's Developer site, but keep having this error. Any ideas?
 
OP
K
Joined
May 27, 2006
Messages
445
Reaction score
16
Points
18
Location
Concord, NC
Your Mac's Specs
Macbook Pro 17" 2.6GHz 4GB RAM
Never mind- I figured it out. I recompiled XNU with -Os to see if it speeds anything up (it should at least minutely!), also disabled kernel debugging. Little risky, but fun.
 
OP
K
Joined
May 27, 2006
Messages
445
Reaction score
16
Points
18
Location
Concord, NC
Your Mac's Specs
Macbook Pro 17" 2.6GHz 4GB RAM
Update- I've definitely noticed a little speed increase, after I cleared the kernel cache and let it rebuild, of course.
 
Status
Not open for further replies.

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top