From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 09:54:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66EB416A468 for ; Sat, 7 Jul 2007 09:54:36 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id B56CB13C4AE for ; Sat, 7 Jul 2007 09:54:35 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 07 Jul 2007 09:54:33 -0000 Received: from vpn-cl-161-84.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [141.3.161.84] by mail.gmx.net (mp030) with SMTP; 07 Jul 2007 11:54:33 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1/x0hUATGfxmhR0CfjzwdDcfl0ZYArIsxgZspDCwY qnqF1a9WOPRP+I Message-ID: <468F62D8.90402@gmx.de> Date: Sat, 07 Jul 2007 11:54:32 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: Jan Sebosik References: <468F5500.7040101@demax.sk> In-Reply-To: <468F5500.7040101@demax.sk> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: GCC 4.2.1: Replacing builtin compiler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 09:54:36 -0000 Jan Sebosik wrote: > Hi > > how safe is it to compile FreeBSD-world without builtin GCC, and replace > it with GCC 4.2.1 from ports ? > > Should I recompile world and kernel after installing new GCC with it ? > > Best regards > GCC from ports links against the GNU libs, unlike GCC in base, which links to the FreeBSD libs. So it's not as trivial as you seem to think. You might try to use GCC from the FreeBSD-CURRENT branch.