This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/29802] [4.2/4.3 Regression] wrong directory in makefile for ada and libada when srcdir=.
- From: "Jean-pierre dot vial at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2006 17:11:52 -0000
- Subject: [Bug ada/29802] [4.2/4.3 Regression] wrong directory in makefile for ada and libada when srcdir=.
- References: <bug-29802-9295@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from Jean-pierre dot vial at wanadoo dot fr 2006-11-14 17:11 -------
(In reply to comment #0)
> when building ada on linux (x86-64)
> building ada fails because the makefile looks for gnatbuild in
> mydir/gcc-4.2-20061107/prev-gcc
> instead of
> mydir/gcc-4.2-20061107/host-x86_64-unknown-linux-gnu/prev-gcc
> I could not find where precisely in the makefile the bug hides.
>
> for libada it is obvious:
> the make variable
> HOST_SUBDIR
> is used, but nowhere defined.
> If I define it, libada is built
>
(In reply to comment #4)
> Created an attachment (id=12616)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12616&action=view) [edit]
> patch to fix the bug
>
>
> Please try this.
>
The patch for the compiler works
the patch for libada does not, here is the error message:
Makefile:55: ../../@HOST_SUBDIR@/gcc/libada-mk: Aucun fichier ou répertoire de
ce type (french message for <<no such file or directory>>)
I tried the patch with HOST_SUBDIR both in lowercase and uppercase,
same result.
--
Jean-pierre dot vial at wanadoo dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Jean-pierre dot vial at
| |wanadoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29802