From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29794 invoked by alias); 14 Nov 2006 17:12:07 -0000 Received: (qmail 29745 invoked by uid 48); 14 Nov 2006 17:11:52 -0000 Date: Tue, 14 Nov 2006 17:12:00 -0000 Message-ID: <20061114171152.29744.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/29802] [4.2/4.3 Regression] wrong directory in makefile for ada and libada when srcdir=. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Jean-pierre dot vial at wanadoo dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg01295.txt.bz2 List-Id: ------- 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 <>) 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