Results 1 to 3 of 3

Thread: Compile XNU

  1. #1


    Member Since
    May 27, 2006
    Location
    Concord, NC
    Posts
    445
    Specs:
    Macbook Pro 17" 2.6GHz 4GB RAM
    Compile XNU
    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?

  2. #2


    Member Since
    May 27, 2006
    Location
    Concord, NC
    Posts
    445
    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.

  3. #3


    Member Since
    May 27, 2006
    Location
    Concord, NC
    Posts
    445
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I compile source code on a mac Im trying to compile hydra 7.1.src.tar.gz on a
    By programmaster in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 11-15-2011, 11:16 AM
  2. Could someone please compile a program for me?
    By nothing4me in forum OS X - Operating System
    Replies: 0
    Last Post: 06-04-2009, 09:14 PM
  3. could some one compile something for me
    By heavensent in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 07-06-2007, 04:55 AM
  4. xnu (kernel) and strcpy
    By Ashcrow in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 11-05-2003, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •