Re: building native cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Zintakis <michael.zintakis@xxxxxxxxxxxxxx> writes:

>>> ../../../gcc/libgcc/../libdecnumber/decContext.c:33:43: fatal error: string.h: No such file or directory
>>>     
>>
>> The question now is whether you have a C library for your target system.
>>   
> Please elaborate Ian - what do you mean?

A C library contains things like <stdio.h>, <string.h>, and the
associated functions like fopen, strcpy, etc.  GCC does not provide a C
library.

You've described your target in terms of processor, but not in terms of
operating system.  Some operating systems have a C library.  Some do
not.  Either way, you're going to need one if you want to write C code.
And you're going to cross-compiler your C library in order to
cross-build programs that run on your target system.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux