From owner-freebsd-ports@FreeBSD.ORG Sat Nov 6 21:23:19 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 501B116A4CE for ; Sat, 6 Nov 2004 21:23:19 +0000 (GMT) Received: from easycgi.com (mail.easycgi.com [66.245.177.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6BF643D1F for ; Sat, 6 Nov 2004 21:23:18 +0000 (GMT) (envelope-from tommy@cnluton.com) Received: from [81.109.146.185] (HELO 192.168.0.2) by easycgi.com (CommuniGate Pro SMTP 4.2.3) with ESMTP id 19317081 for freebsd-ports@freebsd.org; Sat, 06 Nov 2004 16:25:21 -0500 From: Tommy Zhu To: freebsd-ports@freebsd.org Content-Type: text/plain Date: Sat, 06 Nov 2004 21:29:00 +0000 Message-Id: <1099776540.537.36.camel@mshome> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Building gcc 3.4.2 with Ada language on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 21:23:19 -0000 There is just gnat 3.15 ada compiler in ports currently. So it need to build it DIY for one who want GNAT 3.4.2 on FreeBSD. The reason of that is GNAT 3.4.2 has "a lot of nice new features". :) http://www.ada.krischik.com/gnat-3_4_2.html So, Firstly, to download GCC with ada packages, to install gnat3.15 from ports. USING ADAGCC as the host compiler, Adagcc is including in gnat3.15p, and then just following the INSTALL/build.html to build your GNAT 3.4.2 on FreeBSD. and then you can use the new ada compiler on Freebsd to recompiler your second version ada compiler if you like. :-) Because the configure script of gcc3.4.2 can't detect any ada compiler (gnat3.15) on BSD, that's why it need to use adagcc as the host compile. I think the best way is to change the configure script. cheers. -- Tommy Zhu