From owner-freebsd-questions Sun May 9 5:52: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dartagnan.maths.adelaide.edu.au (dartagnan.maths.adelaide.edu.au [129.127.44.41]) by hub.freebsd.org (Postfix) with SMTP id 6FFA014CFE for ; Sun, 9 May 1999 05:51:56 -0700 (PDT) (envelope-from glewis@dartagnan.maths.adelaide.edu.au) Received: by dartagnan.maths.adelaide.edu.au (5.64+1.3.1+0.50/UA-5.19) id AA23629; Sun, 9 May 1999 22:21:36 +0930 From: Gregory Lewis Message-Id: <9905091251.AA23629@dartagnan.maths.adelaide.edu.au> Subject: Re: egcs 1.1.1 vs GCC 2.7.X In-Reply-To: from Ilia Chipitsine at "May 9, 99 01:01:51 pm" To: ilia@cgilh.chel.su (Ilia Chipitsine) Date: Sun, 9 May 1999 22:21:35 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 881 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Q1. What do I do to turn ON optimization for pentium ? I'm not sure that egcs has any specific pentium optimisation flags. You might want to look at pentium gcc (pgcc) which does have some specific pentium optimisations. > i compiled my kernel with egcs, it's smaller now and seems to run > faster. > i compiled /usr/src/bin with egcs so > > Q2. why /bin/cat compiled with egcs is _bigger_ than /bin/cat ? > is it Ok ? what did I miss ? Err you used a different compiler, you shouldn't be surprised that the exectuable sizes may be slightly different. > Q3. why 'man cc' says me about gcc-2.7.1 ? Check your MANPATH variable. This is the path searched for manual pages by man. You'll find that the man page for the system cc occurs earlier in this path. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 3237 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message