From owner-freebsd-ports@FreeBSD.ORG Thu May 11 12:58:16 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 7FDE516A4F8 for ; Thu, 11 May 2006 12:58:16 +0000 (UTC) (envelope-from eischen@vigrid.com) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E8C043D9D for ; Thu, 11 May 2006 12:58:14 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k4BCwDLQ018066; Thu, 11 May 2006 08:58:14 -0400 (EDT) Date: Thu, 11 May 2006 08:58:13 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Boris Samorodov In-Reply-To: <69577148@srv.sem.ipt.ru> Message-ID: References: <92871295@srv.sem.ipt.ru> <24933262@srv.sem.ipt.ru> <58851934@srv.sem.ipt.ru> <69577148@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) 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 12:58:16 -0000 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). -- DE