From owner-freebsd-current Tue Dec 16 21:37:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA11848 for current-outgoing; Tue, 16 Dec 1997 21:37:15 -0800 (PST) (envelope-from owner-freebsd-current) Received: from internet1.mel.cybec.com.au (internet1.mel.cybec.com.au [203.103.154.130]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA11843 for ; Tue, 16 Dec 1997 21:37:08 -0800 (PST) (envelope-from TLiddelow@cybec.com.au) Received: from cybec.com.au (tech34.mel.cybec.com.au [203.103.154.37]) by internet1.mel.cybec.com.au (post.office MTA v2.0 0813 ID# 0-14031) with ESMTP id AAA469; Wed, 17 Dec 1997 16:38:32 +1100 Message-ID: <34976507.9F3D14@cybec.com.au> Date: Wed, 17 Dec 1997 16:37:11 +1100 From: TLiddelow@cybec.com.au (Tim Liddelow) Organization: Cybec Pty Ltd X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Alex CC: current@freebsd.org Subject: Re: Pentium optimizations References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Alex wrote: > > > There's a broken, port for pgcc. However, gcc makes it fairly easy to > install one version of gcc without a port, install another, and choose > between the two on the fly (-Vegcs-2.90.20, -Vegcs-2.90.20p, -Vgcc-2.8.0). Yep, but I don't want to bloat my system with more than one compiler...call me lazy :) > > Although, the only real reason Sun "unbundles" it's compiler is to > make more money :) AFAIK g++ = gcc with it adding -lstdc++ and -lg++ by > default, so really g++ could be a small sh script if you're so inclined > ;-) You missed the point - the compiler is a C++ compiler. It has support for C++ - templates (albeit buggy), exceptions, C++ objects, etc. It is much bigger than a small, efficient C compiler. > > > Of course, this "unbundling" isn't really unbundling, because you can > > simply pick the compiler you want. It also means 3rd party vendors > > may be more inclined to provide a compiler one day. > > But what decent 3rd party compilers are available for Free [x86] OSes? Yeah, granted. But you never know..:) > > * Since FBSD still uses the a.out format, it needs some sevre (and I'm > guessing ugly) hacks to get shared libs working. Terry Lambert has been > pusing a switch to ELF format, which would have the added benefit of > allowing shared libs without hacks. If we switch to ELF, no ugly hacks > would need to be merged. Yeah, well I've been a supporter of going to ELF for ages ... no need to convince me of this one. John Dyson for president! :) (just kidding Jordan). :) Cheers Tim. -- ==================================================================== Tim Liddelow * Internet Consulting Internet Project Manager * * Cybec Pty Ltd * Anti Virus/Firewalls/Security Phone: +61 3 9825 5645 C++/UNIX/WIN32/OOP/OOD/WWW mailto:TLiddelow@cybec.com.au * http://www.vet.com.au/ =====================================================================