From owner-freebsd-questions Fri Aug 18 8:12:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from clyde.goodleaf.net (piscator.seanet.com [199.181.165.218]) by hub.freebsd.org (Postfix) with ESMTP id 257D037B424 for ; Fri, 18 Aug 2000 08:12:31 -0700 (PDT) Received: from clyde.goodleaf.net (clyde.goodleaf.net [192.168.0.2]) by clyde.goodleaf.net (8.9.3/8.9.3) with ESMTP id IAA48498 for ; Fri, 18 Aug 2000 08:06:56 -0700 (PDT) (envelope-from goodleaf@goodleaf.net) Date: Fri, 18 Aug 2000 08:06:56 -0700 (PDT) From: John Goodleaf To: questions@freebsd.org Subject: Make buildworld with GCC optimizations Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was digging through the gcc man page yesterday for kicks. On a whim I added an optimization to CFLAGS in make.conf and ran make buildworld (on a fresh /usr/obj) just to see what would happen. Well the build was successful, but I'm afraid to use the result without knowing if anyone else has tried it, or knows of a reason not to. So, I have: -O -pipe -march=pentiumpro -finline-functions in there now. I've used -O -pipe all along, and have recently added the -march option to builds. Been fine. What about the inline functions? Any thoughts? BTW, I used -ffast-math on a couple of builds. Perhaps coincidentally, I had a couple of mysterious crashes, and have removed it. My imagination? Thanks, John =============================== John Goodleaf goodleaf@goodleaf.net PGP key: finger John@clyde.goodleaf.net =============================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message