compiling kernel without gcc 3.3
compiling kernel without gcc 3.3
- Subject: compiling kernel without gcc 3.3
- From: "Robin Neatherway" <email@hidden>
- Date: Wed, 4 Jul 2007 16:43:41 +0100
Hi,
If I am asking the wrong list, please direct me elsewhere.
I am trying to compile a fresh kernel in order to increase the stack
size available. I am following the instructions here:
http://developer.apple.com/DOCUMENTATION/Darwin/Conceptual/KernelProgramming/build/chapter_18_section_3.html
I fall almost at the first hurdle with:
Important: Once you have obtained and extracted the sources, before
you begin compiling kernel support tools, you should configure your
system to build using gcc 3.3. The Mac OS X 10.4 kernel will not build
using gcc 4.0. To do this, type:
sudo gcc_select 3.3
At this point my gcc is apparently 3.3, but is no longer really
useable. As soon as I try to compile anything I receive the following:
cc: installation problem, cannot exec `cc1': No such file or directory
For gcc 4.0.1, I have `cc1' in /usr/libexec/gcc/i686-apple-darwin8/4.0.1/
and it also seems to be present in /usr/libexec/gcc/darwin/ppc/3.3 (for 3.3)
but not in /usr/libexec/gcc/darwin/i386 (only contains as and default)
What am I doing wrong here?
Thanks,
Robin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden