Unreviewed patch / {PATCH] Do not override configure decision about inhibit_libc
Momchil Velikov
velco@fadata.bg
Thu Jul 25 10:01:00 GMT 2002
>>>>> "Joern" == Joern Rennecke <joern.rennecke@superh.com> writes:
Joern> Momchil Velikov wrote:
>>
>> >>>>> "Joern" == Joern Rennecke <joern.rennecke@superh.com> writes:
Joern> How do you build a usable sh-elf compiler without newlib
Joern> in the first place?
>>
>> Huh ? The compiler by itself does not require newlib nor does the
>> produced code, right ?
Joern> It you need header files for the compiler if you compile code
Joern> that include any of them. And you need the c library if any
Joern> function of it is used.
I can think of at least three legitimate cases:
I. Use the compiler in a freestanding environment - no libraies or
headers exist at all.
II. Build and install the libraries after building the compiler - way
more convenient than installing headers only, building the compiler,
going back and building the libraries.
III. In a cross compilation environment, the headers may not be on the
same machine.
~velco
More information about the Gcc
mailing list