From owner-freebsd-questions Fri Jan 24 02:15:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA19106 for questions-outgoing; Fri, 24 Jan 1997 02:15:11 -0800 (PST) Received: from po-external.FCNBD.COM (po-external.FCNBD.COM [147.113.146.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA19101 for ; Fri, 24 Jan 1997 02:15:07 -0800 (PST) Received: from po-internal.FCNBD.COM (internalhost.FCNBD.COM [147.113.104.10]) by po-external.FCNBD.COM (8.7.5/fcnbd/domain/1.5.1) with ESMTP id EAA18099 for ; Fri, 24 Jan 1997 04:19:11 -0600 (CST) Received: from abacab.cmg.FCNBD.COM (abacab.cmg.FCNBD.COM [147.113.150.227]) by po-internal.FCNBD.COM (8.7.5/fcnbd/internal-domain/1.4.1) with ESMTP id EAA04212 for ; Fri, 24 Jan 1997 04:15:54 -0600 (CST) Received: from ldnrid6.fnbc.co.uk (ldnrid6.FNBC.COM [147.113.168.6]) by abacab.cmg.FCNBD.COM (8.7.5/fcnbd/server-subdomain/2.3) with SMTP id EAA10839 for ; Fri, 24 Jan 1997 04:14:33 -0600 (CST) Received: from lib28.fnbc.co.uk by ldnrid6.fnbc.co.uk; Fri, 24 Jan 97 10:14:31 GMT Message-Id: <13045.9701241014@lib28.fnbc.co.uk> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) Received: by NeXT.Mailer (1.118.2) From: Tim Bissell Date: Fri, 24 Jan 97 10:14:29 GMT To: freebsd-questions@freebsd.org Subject: up-to-date gcc on 2.1.x (was Re: FreeBSD Newbie...) Reply-To: tjb@cmg.fcnbd.com References: Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Doug White wrote: First off, thanks for all your help Doug, you provide a sterling service! >> And how can i upgrade the gcc/libc/libg++ ? Can I ftp from prep.ai.mit.edu >> the src and compile them ? > >No, you cannot; there are many FreeBSD-specific fixes in gcc that make it >uncompilable by normal mortals directly from distribution. If you felt >sadistic you could checkout the gcc source from the FreeBSD source tree >and build it yourself, but I think that upgrading using the normal method >would save you many headaches and lots of aspirin. > This is not entirely true; you can install a later release of gcc *as gcc* without too much pain; just don't try and upgrade the system C compiler 'cc'! I have installed gcc 2.7.2.1 and 4.1.6 gdb in /usr/local to allow me to compile and debug GNUstep programs, and after one patch to a GNU header file (available on request), they coexist peacefully. Tim