From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31848 invoked by alias); 30 Nov 2001 01:42:06 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31801 invoked from network); 30 Nov 2001 01:42:03 -0000 Received: from unknown (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by hostedprojects.ges.redhat.com with SMTP; 30 Nov 2001 01:42:03 -0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA24820; Thu, 29 Nov 01 20:36:30 EST Date: Thu, 22 Nov 2001 08:37:00 -0000 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <10111300136.AA24820@vlsi1.ultra.nyu.edu> To: rth@redhat.com Subject: Re: How to defeat new check for presence of Ada compiler Cc: gcc@gcc.gnu.org X-SW-Source: 2001-11/txt/msg01105.txt.bz2 Err, I'd expect it to be the same now, since the configure test is for the *host* ada compiler, not the target ada compiler. No, it's the target. The mechanism is this: (1) Build a cross-compiler to the target. (2) On the host, do "make stage1" and "make gnat-cross". (3) On the target, bootstrap and install for just C. (4) On the target, configure to build Ada and run "make" until it fails. (5) Copy .s files make in step (2) to the target and redo "make". However, my suggestion is just to symlink a gnatgcc to be, e.g., /bin/true. From mboxrd@z Thu Jan 1 00:00:00 1970 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) To: rth@redhat.com Cc: gcc@gcc.gnu.org Subject: Re: How to defeat new check for presence of Ada compiler Date: Thu, 29 Nov 2001 17:42:00 -0000 Message-ID: <10111300136.AA24820@vlsi1.ultra.nyu.edu> X-SW-Source: 2001-11/msg01606.html Message-ID: <20011129174200.PPG5kiiIFg_RcvfJCqgsu1WwSVjuWSqnhc8qUOvv4Yo@z> Err, I'd expect it to be the same now, since the configure test is for the *host* ada compiler, not the target ada compiler. No, it's the target. The mechanism is this: (1) Build a cross-compiler to the target. (2) On the host, do "make stage1" and "make gnat-cross". (3) On the target, bootstrap and install for just C. (4) On the target, configure to build Ada and run "make" until it fails. (5) Copy .s files make in step (2) to the target and redo "make". However, my suggestion is just to symlink a gnatgcc to be, e.g., /bin/true.