New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Compile XNU


Post Reply New Thread Subscribe

 
Thread Tools
karudzo

 
Member Since: May 27, 2006
Location: Concord, NC
Posts: 445
karudzo has a spectacular aura about
Mac Specs: Macbook Pro 17" 2.6GHz 4GB RAM

karudzo is offline
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?
QUOTE Thanks
karudzo

 
Member Since: May 27, 2006
Location: Concord, NC
Posts: 445
karudzo has a spectacular aura about
Mac Specs: Macbook Pro 17" 2.6GHz 4GB RAM

karudzo is offline
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.
QUOTE Thanks
karudzo

 
Member Since: May 27, 2006
Location: Concord, NC
Posts: 445
karudzo has a spectacular aura about
Mac Specs: Macbook Pro 17" 2.6GHz 4GB RAM

karudzo is offline
Update- I've definitely noticed a little speed increase, after I cleared the kernel cache and let it rebuild, of course.
QUOTE Thanks

Post Reply New Thread Subscribe


« Problem with Darwine | Terminal - always on top? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Is there any command to compile the vct file of visex shridhark Running Windows (or anything else) on your Mac 0 01-03-2006 09:27 AM
Trying to compile using the Terminal yeailovetosurf OS X - Development and Darwin 1 01-12-2005 12:31 PM
not understanding why it will not compile noze2000 OS X - Development and Darwin 1 08-22-2004 05:03 AM
UNIX C Compile Error Zach_C OS X - Development and Darwin 3 01-07-2004 01:43 PM
xnu (kernel) and strcpy Ashcrow OS X - Development and Darwin 0 11-05-2003 03:14 PM

All times are GMT -4. The time now is 12:00 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?