From owner-freebsd-questions Fri Nov 26 17:21:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from altair.mayn.de (altair.mayn.de [194.145.150.157]) by hub.freebsd.org (Postfix) with ESMTP id 7FA3414EC2 for ; Fri, 26 Nov 1999 17:21:52 -0800 (PST) (envelope-from mkb@altair.mayn.de) Received: (from mkb@localhost) by altair.mayn.de (8.9.3/8.9.3) id CAA01012; Sat, 27 Nov 1999 02:21:18 +0100 (CET) (envelope-from mkb) Date: Sat, 27 Nov 1999 02:21:18 +0100 From: Matthias Buelow To: Mikhail Evstiounin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: latest gcc? Message-ID: <19991127022118.A593@altair.mayn.de> References: <003201bf3851$30268340$bd353018@evstiouninadelphia.net.pit.adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <003201bf3851$30268340$bd353018@evstiouninadelphia.net.pit.adelphia.net>; from evstiounin@adelphia.net on Fri, Nov 26, 1999 at 03:59:52PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mikhail Evstiounin wrote: >> Of course you can't use this compiler to compile the kernel >>since I don't think it would be possible to compile the kernel with a C++ >>compiler. > >Before be too pedantic you should learn a little bit more about gcc >and egcs (sorry for sarcasm). GCC is something like a "all in one" >compiler. As a matter of fact, g++ is a wrapper around gcc. Moreover, Well.. that's why I tagged the statement as pedantic; basically the "compiler" is of course the gcc software in its entirety. Technically speaking, the compiler driver gcc calls one of the three different Gnu compilers that come with FreeBSD (/usr/libexec/{cc1,cc1obj,cc1plus}, for the first pass of the C compiler, Objective C and C++ compiler, respectively), depending on what it was fed and what options it got passed. These compilers may share various stages of compilation (probably preprocessing, optimization and code generation backend) so it's certainly right that they're not independent. mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message