From owner-freebsd-questions Sat Jul 20 13: 1:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2616737B400 for ; Sat, 20 Jul 2002 13:01:24 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21CB143E3B for ; Sat, 20 Jul 2002 13:01:23 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6KK19XZ024704; Sat, 20 Jul 2002 21:01:09 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6KK14rA024703; Sat, 20 Jul 2002 21:01:04 +0100 (BST) Date: Sat, 20 Jul 2002 21:01:04 +0100 From: Matthew Seaman To: "Andrew L. Neporada" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: compiling world with -g Message-ID: <20020720200104.GA24601@happy-idiot-talk.infracaninophi> References: <20020720180857.GA21316@nas.dgap.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020720180857.GA21316@nas.dgap.mipt.ru> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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