Re: Building the 10.6.4 Kernel
Re: Building the 10.6.4 Kernel
- Subject: Re: Building the 10.6.4 Kernel
- From: James C <email@hidden>
- Date: Sun, 12 Sep 2010 12:25:28 +1200
Hi Alex,
No actual *details* here, just a theory: it may be that llvm and gcc
share a set of hidden files (which usually begin with a dot) for
tracking the dependency of .c files on .h files, and the stored llvm
dependencies are breaking the gcc build.
The brutal solution would be to delete the build tree and start again
from scratch. If I have the right problem and somebody has the
details, they can probably suggest a much more sophisticated solution.
Regards,
James.
> Date: Sat, 11 Sep 2010 02:13:27 +0200
> From: Alexander von Below <email@hidden>
> Subject: Re: Building the 10.6.4 Kernel
> To: Terry Lambert <email@hidden>
> Cc: "email@hidden Kernel"
> <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Thanks for your reply.
>
> However, I have no clue why the makefile thiks it should use llvm-c
>
> The error occurs even if I pass gcc-4.0 as the value for CC:
>
> % make CC=/usr/bin/gcc-4.0
> =========== make all for libstuff =============
> /usr/bin/gcc-4.0 -std=c99 -O -DLTO_SUPPORT -g -I../../include -Wall -fno-builtin-round -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -static -c \
> -I/Developer/usr/local/include \
> -MD -dependency-file ./lto.d \
> -o ./lto.o ../lto.c
> ../lto.c:8:24: error: llvm-c/lto.h: No such file or directory
>
> Could anyone shed light on this?
>
> xcode-select points to /Developer, containing the current stable release of Xcode (3.2.4)
>
> Thanks
>
> Alex
>
_______________________________________________
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