From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27111 invoked from network); 9 May 1998 16:04:59 -0000 Received: from post-12.mail.demon.net (HELO post.mail.demon.net) (194.217.242.41) by mail2.redhat.com with SMTP; 9 May 1998 16:04:59 -0000 Received: from (tardis.home.dave) [194.222.210.232] by post.mail.demon.net with smtp (Exim 1.82 #2) id 0yYC7J-0004yk-00; Sat, 9 May 1998 17:04:53 +0100 Date: Sat, 9 May 1998 17:00:03 +0100 (BST) From: Dave Gilbert X-Sender: gilbertd@tardis.home.dave To: Wes Nakamura cc: axp-list@redhat.com Subject: Re: gcc/egcs/X 3.3.2 libs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 8 May 1998, Wes Nakamura wrote: > > Hi, I have some questions regarding libraries. > > I'm planning to upgrade to gcc 2.8.1 or egcs 1.0.2 (will probably try > both of them). Either should work with glibc-2.0.7 and libstdc++ 2.8.1, > right? (I'd have to compile libstdc++, as there doesn't seem to be any > rpms...) Would c++ work (as I understand it, the Redhat 5.0 c++ problem > was a lib problem, not a compiler problem)? I can't say I'm 100% clear > on the exact relationship between the compiler and lib projects. Any > problems compiling kernels (I need to compile a 2.1.x kernel)? OK, where should I start..... GCC 2.8.1 is a newer version of GCC; from the same guys, and thats all you get - the compiler. Then you'll need to find a libstdc++ to go with it. EGCS takes the development snapshots of GCC and works on them, releasing snapshots every week or so and releases every couple of months. EGCS is a lot more experimental than GCC; they have things like wacky optimisers and stuff. EGCS optimisations eventually get merged into GCC. EGCS is normally distributed with its own version of libstdc++ which matches the compiler. Which to use? Well if you want stability then use GCC; if you want the leading edge then use EGCS. The leading edge can mean more performance, bug fixes before they get into GCC - and potentially new and more unusual bugs and problems. So its a trade off; sometimes you may find that EGCS works where GCC 2.8.1 won;t because a bug fix has got in; sometimes hte opposite because a new EGCS feature hasn't been tested fully yet. Having said that, the EGCS guys are nice guys and tend to fix bugs fairly fast when you give them a good bug report. Dave -------------------------------------------------------------------- / Dr. David Alan Gilbert | Running Linux on Alpha & ARM \ \ gro.gilbert @ treblig.org | ------- Happy in hex ------- / \____________________________|___ http://www.treblig.demon.co.uk __/