From owner-freebsd-ports@FreeBSD.ORG Wed May 10 18:18:10 2006 Return-Path: X-Original-To: ports@FreeBSD.org 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 15BD416A94C; Wed, 10 May 2006 18:18:10 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B2943E82; Wed, 10 May 2006 18:16:44 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FdtEp-0009cr-7o; Wed, 10 May 2006 22:16:43 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FdtFB-0005VS-NL; Wed, 10 May 2006 22:17:05 +0400 To: Daniel Eischen References: <92871295@srv.sem.ipt.ru> <24933262@srv.sem.ipt.ru> From: Boris Samorodov Date: Wed, 10 May 2006 22:17:05 +0400 In-Reply-To: (Daniel Eischen's message of "Wed, 10 May 2006 14:01:19 -0400 (EDT)") Message-ID: <58851934@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@FreeBSD.org, gerald@FreeBSD.org Subject: Re: lang/gcc-4x and ADA support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 18:18:10 -0000 On Wed, 10 May 2006 14:01:19 -0400 (EDT) Daniel Eischen wrote: > On Wed, 10 May 2006, Boris Samorodov wrote: > > CC to lang/gnat and lang/gcc41 maintainers as they may be interested. > > > > On Wed, 03 May 2006 21:01:04 +0400 Boris Samorodov wrote: > > > >> Is somebody working (or even ever tried) on compiling gcc-4.x with ADA > >> support? > > > > It appears to be nobody but me. ;-) > I tried some months ago, but gcc40 (or 41 or whatever) wasn't > building on -current and I didn't have much time to devote to > it. > > What is done to lang/gcc41: > > > > o WITH_ADA knob is added, it's not defined by default; > > o some other stuff made to deal with --enable-languages=[]; > > o lang/gnat is used as primary compiler when WITH_ADA is defined; > > o tested with --enable-languages=ada,c. > > > > Just now compilation with all languages is running: > > --enable-languages=c,ada,c++,fortran,java,objc. You know, it's not a > > very short operation. ;-) BTW, the compilation is successful. > That's good to know. Does it also work with lang/gcc42? I've not tested so far. > > What I'm going to do: > > > > o make bootstraping with gnat-3.15p-boot; > > o adjust pkg-plist; > > o send-pr. > > > > > > Does anybody have any suggestions? > You might want to have it try to first detect if lang/gnat > is installed and use that to bootstrap. You probably don't > want to depend on lang/gnat just to get a bootstrap compiler > if my gnat-3.15p-boot works with gcc4x, though. Yes, I wasn't quite correct. I should have said "bootstraping like lang/gnat do". > What are the licenses with the gnat libs in gcc4x? Are > they as restrictive as lang/gnat? Gnat with gcc4x has GPL like all gcc code. I'm not an expert here but it seems that bootstrapping with gnat/gpl may have result in pure GPL license. That's why I prefer to have a possibility to bootstrap with gnat-3.15p-boot. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider