ada/6852: gnatlib fails to build with newlib because it doesn't set up the include path
geoffk@redhat.com
geoffk@redhat.com
Tue May 28 18:26:00 GMT 2002
>Number: 6852
>Category: ada
>Synopsis: gnatlib fails to build with newlib because it doesn't set up the include path
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 28 18:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: geoffk@redhat.com
>Release: 3.1
>Organization:
>Environment:
>Description:
The resulting error message is 'can't find unistd.h'.
>How-To-Repeat:
Create a combined tree that includes GCC and newlib
<path>/configure --target=powerpc-eabisim
make
make -C gcc gnatlib
>Fix:
Move gnatlib out to a toplevel directory and use
CC_FOR_TARGET as passed down by the toplevel Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list