From owner-freebsd-ports@FreeBSD.ORG Sat Nov 6 22:08:55 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 42CF616A4CE for ; Sat, 6 Nov 2004 22:08:55 +0000 (GMT) Received: from freebsd0.dcrin3.com (freebsd0.dcrin3.com [66.79.187.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA53243D2F for ; Sat, 6 Nov 2004 22:08:54 +0000 (GMT) (envelope-from dross@code-exec.net) Received: from [24.151.191.210] (24-151-191-210.chartertn.net [24.151.191.210]) by freebsd0.dcrin3.com (Postfix) with ESMTP id 32D996D67F for ; Sat, 6 Nov 2004 14:13:31 -0800 (PST) Message-ID: <418D4C6D.6030000@code-exec.net> Date: Sat, 06 Nov 2004 17:13:01 -0500 From: David Ross User-Agent: Mozilla/5.0 (X11; U; DragonFly i386; en-US; rv:1.7) Gecko/20040701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <1099776540.537.36.camel@mshome> In-Reply-To: <1099776540.537.36.camel@mshome> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 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 22:08:55 -0000 Tommy Zhu wrote: >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. > > I've been using GNAT 3.4.1 for some time. Its great, there are mor libraries and possibly even more stable. Been using it for about 6 months. Its nice. I know about the build script junk. I didn't bother looking what was happening, so I just built 3.3.3, then 3.4.1 to get it working somehow. Its great though, someone should make a port. Ada wasn't forced on me, and I feel sorry for those who it were(because now they probably hate it). Ada is a great language to use for any purpose. David Ross -- Hazzle free packages for Ruby? RPA is available from http://www.rubyarchive.org/