From owner-freebsd-questions Thu Feb 8 22:58:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dh198-236.dhcp.sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id D408A37B491 for ; Thu, 8 Feb 2001 22:58:14 -0800 (PST) Received: (from chris@localhost) by dh198-236.dhcp.sunysb.edu (8.11.1/8.11.1) id f196wCc13116; Fri, 9 Feb 2001 01:58:12 -0500 (EST) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14979.38148.149106.374046@chris.xsb.com> Date: Fri, 9 Feb 2001 01:58:12 -0500 To: Kris Kennaway Cc: Rued Christopher , freebsd-questions@freebsd.org Subject: Re: gcc running out of swap space during build... In-Reply-To: <20010208204200.B52772@mollari.cthul.hu> References: <14979.26570.911569.872294@public.ug.cs.sunysb.edu> <20010208204200.B52772@mollari.cthul.hu> X-Mailer: VM 6.89 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway writes: > On Thu, Feb 08, 2001 at 10:45:14PM -0500, Rued Christopher wrote: > > The exact command looks like this: > > gcc -c -O4 -fomit-frame-pointer -finline-functions \ > > -Winline -m486 -ansi -pedantic -Wall builtin.c > > What do you hope to achieve with -O4? That optimization setting > doesn't even exist in gcc, and anything over -O is known to generate > bad code sometimes anyway. Hmm... That command was given from a makefile that was generated by a configure script distributed with the source, so I'm not sure what the purpose was. I found the nasty makefiles that were giving the -O4 option to gcc, and replaced them with -O, as you suggested, and everything now seems to be working properly. It seems to me that if I give gcc an option that does not exist, it should complain about it, shouldn't it? Thanks for the help. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message