Date: Mon, 7 May 2001 23:36:31 +0100 (WEST) From: Nuno Teixeira <nuno.mailinglists@pt-quorum.com> To: <freebsd-stable@FreeBSD.ORG> Subject: CFLAGS Optimization Message-ID: <20010507230417.F508-100000@gateway.bogus>
next in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010507230417.F508-100000>