From owner-freebsd-ports@FreeBSD.ORG Wed Dec 27 23:28:00 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1637A16A416 for ; Wed, 27 Dec 2006 23:28:00 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id CE62113C46D for ; Wed, 27 Dec 2006 23:27:59 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 6C80513787; Thu, 28 Dec 2006 00:10:07 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 0E7A61A7C9; Thu, 28 Dec 2006 00:10:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id F3F121A7C7; Thu, 28 Dec 2006 00:10:13 +0100 (CET) Date: Thu, 28 Dec 2006 00:10:13 +0100 (CET) From: Gerald Pfeifer To: Jeremie Le Hen In-Reply-To: <20061216011759.GA48407@obiwan.tataz.chchile.org> Message-ID: References: <20061216011759.GA48407@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ports@FreeBSD.org Subject: Re: ${TARGLIB} in gcc34 and gcc41 ports 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, 27 Dec 2006 23:28:00 -0000 On Sat, 16 Dec 2006, Jeremie Le Hen wrote: > I've installed lang/gcc34 and lang/gcc41 and I looked for libgcc. > I found: > > lang/gcc34: TARGLIB=${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION} > lang/gcc41: TARGLIB=${PREFIX}/lib/gcc-${PORTVERSION} > > Is there a reason for such incoherency between those two ports ? Yes, a simple one. ;-) I made the simplification to the lang/gcc4x ports only a few months ago (mid-July) at which point the lang/gcc3x were already in deep maintenance mode after upstream has abandoned these for a while. To be on the safe side, I am generally cautious which changes to the lang/gcc3x ports these days and thus did not apply these changes there as well because they do not really seem to be too important. If you look at lang/gcc33 and lang/34, you'll see that we got increasingly conservative with these two. > Additionally, I would like to change LIBCFLAGS during GCC bootstrap > but I don't really understand what to change in the port's Makefile to > achieve this (I would like to add a compilation flag for libgcc). > May you provide my any clue about this please ? I put a bit of documentation related to this into the upstream GCC installation documentation (see http://gcc.gnu.org/install/build.html for example, search for CFLAGS). In the context of the FreeBSD Ports Collection, I believe adding the appropriate settings to the MAKE_ENV in lang/gccXY/Makefile should work. Hope this helps, Gerald -- Gerald (Jerry) Pfeifer gerald@pfeifer.com http://www.pfeifer.com/gerald/