LFS Devel: GCC4.0.2 problem

James Choa triggerhappyelite at gmail.com
Thu Feb 9 00:51:32 PST 2006


William Harrington wrote:

>
> On Feb 8, 2006, at 3:56 PM, James Choa wrote:
>
>> In file included from ../../gcc-4.0.2/gcc/crtstuff.c:64:
>> ../../gcc-4.0.2/gcc/tsystem.h:90:19: error: stdio.h: No such file  or 
>> directory
>> ../../gcc-4.0.2/gcc/tsystem.h:93:23: error: sys/types.h: No such  
>> file or directory
>> ../../gcc-4.0.2/gcc/tsystem.h:96:19: error: errno.h: No such file  or 
>> directory
>> ../../gcc-4.0.2/gcc/tsystem.h:103:20: error: string.h: No such file  
>> or directory
>> ../../gcc-4.0.2/gcc/tsystem.h:104:20: error: stdlib.h: No such file  
>> or directory
>> ../../gcc-4.0.2/gcc/tsystem.h:105:20: error: unistd.h: No such file  
>> or directory
>> In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
>>                 from /sources/gcc-build/gcc/include/limits.h:11,
>>                 from ../../gcc-4.0.2/gcc/tsystem.h:108,
>>                 from ../../gcc-4.0.2/gcc/crtstuff.c:64:
>> /sources/gcc-build/gcc/include/limits.h:122:61: error: limits.h: No  
>> such file or directory
>> In file included from ../../gcc-4.0.2/gcc/crtstuff.c:64:
>> ../../gcc-4.0.2/gcc/tsystem.h:111:18: error: time.h: No such file  or 
>> directory
>
>
>> I know this has something to do with the locales but how do i fix it?
>>
>> Thanks,
>> James "trigger-happy" Choa
>
>
> Nah, it has to do with the compiler not finding the headers. If you  
> build dummy.c with gcc -v you can see where your compiler is  
> searching for headers.
>
> Sincerely,
>
> William

I'll get back on that, I lost my build environment and will have to 
start again from scratch...



More information about the lfs-support mailing list