From owner-freebsd-ports@FreeBSD.ORG Thu May 11 13:40:51 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 A2FC916A447 for ; Thu, 11 May 2006 13:40:51 +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 4EC6B44376 for ; Thu, 11 May 2006 13:23:58 +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 1FeB93-000Cs2-41; Thu, 11 May 2006 17:23:57 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FeB9N-0007ma-23; Thu, 11 May 2006 17:24:17 +0400 To: Daniel Eischen References: <92871295@srv.sem.ipt.ru> <24933262@srv.sem.ipt.ru> <58851934@srv.sem.ipt.ru> <69577148@srv.sem.ipt.ru> From: Boris Samorodov Date: Thu, 11 May 2006 17:24:17 +0400 In-Reply-To: (Daniel Eischen's message of "Thu, 11 May 2006 08:58:13 -0400 (EDT)") Message-ID: <28448462@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 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: Thu, 11 May 2006 13:41:04 -0000 On Thu, 11 May 2006 08:58:13 -0400 (EDT) Daniel Eischen wrote: > On Thu, 11 May 2006, Boris Samorodov wrote: > > On Wed, 10 May 2006 22:17:05 +0400 Boris Samorodov wrote: > >>> On Wed, 10 May 2006, Boris Samorodov wrote: > > > >>>> 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. > > > > However, gcc overwrites gnat/gnu binaries when installing. They have > > identical names under /usr/local/bin. :-( > You have to patch gcc4x gnat sources so that gnat obeys the > suffix (gnat41 or gcc41-gnat or whatever would conform with > lang/gcc4x). Got it, thanks! WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider