A question about newlib/libc/include/newlib.h.
Jeff Johnston
jjohnstn@redhat.com
Mon Dec 11 20:59:00 GMT 2006
Kazu Hirata wrote:
> Hi Jeff,
>
> I see:
>
> 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
>
> * libc/include/newlib.h: New file for tools that use newlib
> headers but don't build newlib first (e.g. gcc).
>
> Is this needed when you do one-tree build?
>
Yes, but I think you also can keep them split and tell gcc where the
headers are (IIRC using the --with-headers option).
> I'm wondering about the necessity because this file gets included
> while running newlib testsuite when I really want a testcase to
> include the installed version of newlib.h (with lots of #defines in
> it).
>
That is a bug that will require looking into.
> Thanks,
>
> Kazu Hirata
Regards,
-- Jeff J.
More information about the Newlib
mailing list