From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30584 invoked by alias); 29 Apr 2011 23:43:35 -0000 Received: (qmail 30574 invoked by uid 22791); 29 Apr 2011 23:43:35 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Apr 2011 23:43:22 +0000 From: "tg at mirbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/37109] can't canadian cross ada (if host=target, but host!=build) X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tg at mirbsd dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Fri, 29 Apr 2011 23:43:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg03169.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37109 --- Comment #6 from Thorsten Glaser 2011-04-29 23:41= :11 UTC --- I also believe this in gnattools/Makefile (generated) to be wrong: # For cross builds of gnattools, # put the host RTS dir first in the PATH to hide the default runtime # files that are among the sources # FIXME: This should be done in configure. RTS_DIR:=3D$(strip $(subst \,/,$(shell gnatls -v | grep adalib ))) gnattools-cross: $(GCC_DIR)/stamp-tools See how it calls gnatls to find out the path to adalib, even though it=E2=80=99s cross-compiling? From amd64 to m68k (LP64 =E2=86=92 ILP32), th= is produces errors later on; changing gnatls to m68k-linux-gnu-gnatls fixes them.