This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ada/6852: gnatlib fails to build with newlib because it doesn't set up the include path
- From: geoffk at redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 29 May 2002 01:16:18 -0000
- Subject: ada/6852: gnatlib fails to build with newlib because it doesn't set up the include path
- Reply-to: geoffk at redhat dot com
>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: