From owner-freebsd-ports@FreeBSD.ORG Tue Jun 13 16:25:31 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 8AC2216A496; Tue, 13 Jun 2006 16:25:31 +0000 (UTC) (envelope-from karel.miklav@siol.net) Received: from mta1.siol.net (mta1.siol.net [193.189.160.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED2B43D46; Tue, 13 Jun 2006 16:25:30 +0000 (GMT) (envelope-from karel.miklav@siol.net) Received: from edge2.siol.net ([10.10.10.211]) by mta1.siol.net with ESMTP id <20060613162528.MIT4387.mta1.siol.net@edge2.siol.net>; Tue, 13 Jun 2006 18:25:28 +0200 Received: from [192.168.0.149] (really [86.61.124.71]) by edge2.siol.net with ESMTP id <20060613162528.FRNZ4459.edge2.siol.net@[192.168.0.149]>; Tue, 13 Jun 2006 18:25:28 +0200 Message-ID: <448EE6F0.3040003@siol.net> Date: Tue, 13 Jun 2006 18:25:20 +0200 From: Karel Miklav User-Agent: Thunderbird 1.5.0.4 (X11/20060608) MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: gerald@FreeBSD.org Subject: GCC with GNAT Ada compiler 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: Tue, 13 Jun 2006 16:25:31 -0000 Hello, I've put together a gnat34 port and updated gcc41 so that it can build the GNAT Ada compiler too. I'm new to this and I'd like to have some feedback. The gnat34 port is made of GCC 3.4.6, where I used some features of the existing GNAT port (binary distribution of GNAT 3.15p...). The port is pretty clean, but I made it for bootstrapping purposes and the resulting compiler is not tested beyond compilation of some simple utilities. It installs binaries in ${PREFIX}/bin/gcc34, user is required to modify his PATH and s/he's ready to go. The gcc41 port with GNAT is in preliminary stage. Everything but C and Ada is blocked and I didn't touch the PLIST so it doesn't uninstall. My questions: 1. why gcc41 installs binaries in ${PREFIX}/ bin/? Isn't this a problem if multiple compilers are installed? 2. with default configure parameters Ada library gets installed into ${PREFIX}/lib/gcc/ i386-portbld-freebsd6.1/4.1.2/gcc/ i386-portbld-freebsd6.1/4.1.2/. Would it be OK for other compilers to configure with --bindir=${PREFIX}/bin/gcc41? Maybe this is a GNAT bug and should be fixed? 3. Is it OK to build in switches for excluding Objective C and C++? Ports are at: - http://lovetemple.net/gnat-gcc.tbz -- Regards, Karel Miklav