From owner-freebsd-stable Mon May 7 15:35:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id 3D71E37B422 for ; Mon, 7 May 2001 15:35:33 -0700 (PDT) (envelope-from nuno.mailinglists@pt-quorum.com) Received: from p243-237.netc.pt ([213.30.47.243]) by pt-quorum.com (8.9.3/8.9.3) with ESMTP id XAA19150 for ; Mon, 7 May 2001 23:26:06 +0100 Date: Mon, 7 May 2001 23:36:31 +0100 (WEST) From: Nuno Teixeira X-X-Sender: To: Subject: CFLAGS Optimization Message-ID: <20010507230417.F508-100000@gateway.bogus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello to all, I came from Linux and at that time I used CFLAGS to optimize general programs and linux kernel. For example: [i686]: CFLAGS='-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro - -march=pentiumpro -fomit-frame-pointer -fno-exceptions' [i586]: CFLAGS='-O3 -mcpu=pentium -march=pentium -ffast-math -funroll-loops - -fomit-frame-pointer -fforce-mem -fforce-addr -malign-double - -fno-exceptions' [i486]: CFLAGS='-O3 -funroll-all-loops -malign-double -mcpu=i486 -march=i486 - -fomit-frame-pointer -fno-exceptions' Can I use CFLAGS on FreeBSD too? If I put the CFLAGS on /etc/defaults/make.conf, the kernel is affected by it? Does CFLAGS can optimize programs and kernel on FreeBSD OS? Thanks very much, - -- Nuno Teixeira Dir. Técnico pt-quorum.com -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.76 iQA/AwUBOvcjeY8HcgpjoE/HEQLwEwCdGkqAoAsEhqb2KBhSFv3EaD0DiGQAoM7N JC4u5v+blgW3vTmLpZBGhsKn =RVZx -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message