From owner-freebsd-ports@FreeBSD.ORG Thu Nov 13 10:05:07 2003 Return-Path: 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 60E3F16A4CE for ; Thu, 13 Nov 2003 10:05:07 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11F6B43FAF for ; Thu, 13 Nov 2003 10:05:03 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 3822 invoked from network); 13 Nov 2003 18:05:00 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 13 Nov 2003 18:05:00 -0000 Message-ID: <3FB3C7CC.8080803@liwing.de> Date: Thu, 13 Nov 2003 18:05:00 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031102 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Marc van Woerkom References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: Gcc 3.3 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 18:05:07 -0000 Marc van Woerkom wrote: > I have a question regarding the gcc34 port under ports/lang. > > Does it replace the standard gcc or does it coexist? > > E.g. if I build a new userland/kernel from my /usr/src - > will this use its own gcc or use the gcc from the ports? Have a look into the pkg-plist file and the Makefile in ${PORTSDIR}/lang/gcc34, it'll show you that it's a snapshot of the summer gcc 3.3.1 and should be updated. Furthermore it shows you, that the installed binaries are in /usr/local/bin and have the suffix '33'. What does it mean in real? It means, if your path is similar to mine: $ echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/trevor/bin $ which cc /usr/bin/cc $ which gcc33 /usr/local/bin/gcc33 each program which lies in /usr/bin will be found (and excuted) before anyone from /usr/local/bin. If you now check the files in /usr/share/mk/, you may found out, that the system compiler is named 'cc', not 'gcc', so even if no suffix would be used, no conflict will occur. Finally, you can be sure that your system will be build with the right (recommented) compiler, as long as you don't add sth. like 'CC=gcc33' to your /etc/make.conf, local environment or something else what could affect 'make buildworld'. Regards, Jens