From owner-freebsd-questions Sat Mar 4 16:59:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sttlpop2.sttl.uswest.net (sttlpop2.sttl.uswest.net [206.81.192.2]) by hub.freebsd.org (Postfix) with SMTP id 42B5A37B8D4 for ; Sat, 4 Mar 2000 16:59:39 -0800 (PST) (envelope-from wsanborn@uswest.net) Received: (qmail 17817 invoked by alias); 5 Mar 2000 00:59:38 -0000 Delivered-To: fixup-questions@FreeBSD.org@fixme Received: (qmail 17804 invoked by uid 0); 5 Mar 2000 00:59:38 -0000 Received: from rdslppp159.sttl.uswest.net (HELO milk) (216.160.110.159) by pop.sttl.uswest.net with SMTP; 5 Mar 2000 00:59:38 -0000 From: To: questions@FreeBSD.org Date: Sat, 4 Mar 2000 17:04:43 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Any major downside to using "-O3" when compiling? Reply-To: wsanborn@uswest.net Message-ID: <38C1422B.16524.3085E0@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After poking around the cc and gcc manpages, I noticed the "-O" option for optimization. I've now compiled a few items with that option and have noticed that: 1- It takes longer to compile (general resource hog. noticibly longer with -O3). 2- The binaries are larger (kernel size increased about %7) Is there any other downside? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message