From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3624 invoked by alias); 21 Aug 2009 23:16:29 -0000 Received: (qmail 3615 invoked by uid 22791); 21 Aug 2009 23:16:28 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from us02smtp1.synopsys.com (HELO vaxjo.synopsys.com) (198.182.60.75) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Aug 2009 23:16:20 +0000 Received: from mother.synopsys.com (mother.synopsys.com [146.225.100.171]) by vaxjo.synopsys.com (Postfix) with ESMTP id D026EED40; Fri, 21 Aug 2009 16:16:18 -0700 (PDT) Received: from venkatar-opt-lnx.internal.synopsys.com (localhost [127.0.0.1]) by mother.synopsys.com (8.9.1/8.9.1) with ESMTP id QAA05098; Fri, 21 Aug 2009 16:16:17 -0700 (PDT) Received: from venkatar-opt-lnx.internal.synopsys.com (localhost.localdomain [127.0.0.1]) by venkatar-opt-lnx.internal.synopsys.com (8.13.1/8.12.3) with ESMTP id n7LNGH88025874; Fri, 21 Aug 2009 16:16:17 -0700 Received: (from jbuck@localhost) by venkatar-opt-lnx.internal.synopsys.com (8.13.1/8.13.1/Submit) id n7LNGBa3025873; Fri, 21 Aug 2009 16:16:11 -0700 Date: Sat, 22 Aug 2009 04:14:00 -0000 From: Joe Buck To: Paul Smedley Cc: "gcc@gcc.gnu.org" Subject: Re: Compiling the GNU ada compiler on a new platform Message-ID: <20090821231611.GK329@synopsys.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00403.txt.bz2 On Fri, Aug 21, 2009 at 03:40:57PM -0700, Paul Smedley wrote: > I'm wanting to update the GNU ADA compiler for OS/2... I'm currently > building GCC 4.3.x and 4.4.x on OS/2 (C/C++/fortran) but for ADA > configure complains about not finding gnat. The problem is that the > only gnat compiled for OS/2 was years ago using a different toolchain > so it's not suitable. > > I assume that at some point in time, ada didn't depend on an existing > gnat, so if I could find that version, I could compile a version of > gnat to get me started?? Otherwise it's a bit chicken and egg :( The alternative solution is to build gnat as a cross-compiler, so it runs on (say) GNU/Linux and produces gnat code for OS/2. I haven't done that for gnat, only for other languages, but perhaps someone can advise you on how to set that up. Then you can use the cross-compiler to build a native compiler.