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.