Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 1999 22:21:35 +0930 (CST)
From:      Gregory Lewis <glewis@dartagnan.maths.adelaide.edu.au>
To:        ilia@cgilh.chel.su (Ilia Chipitsine)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: egcs 1.1.1 vs GCC 2.7.X
Message-ID:  <9905091251.AA23629@dartagnan.maths.adelaide.edu.au>
In-Reply-To: <Pine.BSF.4.05.9905091254400.13522-100000@jane.cgu.chel.su> from Ilia Chipitsine at "May 9, 99 01:01:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9905091251.AA23629>