Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 21:01:04 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "Andrew L. Neporada" <andr@dgap.mipt.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: compiling world with -g
Message-ID:  <20020720200104.GA24601@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020720180857.GA21316@nas.dgap.mipt.ru>
References:  <20020720180857.GA21316@nas.dgap.mipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 20, 2002 at 10:08:57PM +0400, Andrew L. Neporada wrote:

> Will it take any additional resources to run world compiled with
> "CFLAGS= -O -pipe -g" (except some additional disk space usage)?

'-O' is the recommended optimization level.  No problem there.

'-pipe' only affects the way files are passed between different phases
of the compilation process, so it makes no difference to the end
result. Not a problem.

'-g' adds some extra symbols to the object files, but apart from being
bigger they should otherwise be just about identical to binaries
compiled without '-g'.  However, unless you override the setting of
the STRIP make variable all your work will be in vain, as the debug
symbols will be stripped out when you do the installworld.  Unlikely
to cause problems, even with all the debug symbols.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

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?20020720200104.GA24601>