Re: compiling kernel without gcc 3.3
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=JD8Qo1njcaHpE8LhZavPxGTIuboE6rayo9CNyvnueSYmxqgCxzosCDEOp5YaBoeB0Tm1c2By4/g/tXt4bKFhM/xdxA3dJdgmdEUNM0F7tNdvzZQA2dxuymYvVygJaf654YP881xOty7QJ2yPAbUMir8OwgNHIKiQURrzYe4YBh8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=BKXfb8kdlZIGMhvqZjM/M6flRb6c1bvQKKj78d6mrf5r7y3SZtfvmfdLWMreVkQ1NHTFTA/Aosqe3o8SIRV9+KDQa2CjS0volfNVSsJLccWKmt6US0xuS9D1tQo3dzf3dJVPLj6e6KrJZ6G17GIHEW2qHf57fc8ZRMOzc8yIqHU= Robin, cc -I ../cctools-622.5/include kextsymboltool.c -o kextsymboltool Cheers, Joel On Jul 4, 2007, at 8:43 AM, Robin Neatherway wrote: 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: 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 What am I doing wrong here? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... The instructions have not been updated for the x86 platform (gcc_select should also be a little smarter). For x86, the 4.x compiler builds a runnable kernel. You might run into a problem building kextsymboltool following the instructions. I had to add an include path so it could find one of its headers: http://developer.apple.com/DOCUMENTATION/Darwin/Conceptual/ KernelProgramming/build/chapter_18_section_3.html 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) Thanks, Robin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/joeldoin% 40gmail.com This email sent to joeldoin@gmail.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Beaudoin