From owner-freebsd-hackers Mon Oct 26 17:34:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA20664 for freebsd-hackers-outgoing; Mon, 26 Oct 1998 17:34:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from TomQNX.tomqnx.com (cpu2745.adsl.bellglobal.com [207.236.55.214]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA20659 for ; Mon, 26 Oct 1998 17:34:48 -0800 (PST) (envelope-from tom@tomqnx.com) Received: by TomQNX.tomqnx.com (Smail3.2 #1) id m0zXy1P-000I0NC; Mon, 26 Oct 1998 20:34:07 -0500 (EST) Message-Id: From: tom@tomqnx.com (Tom Torrance at home) Subject: Weird 'make' trivia To: hackers@FreeBSD.ORG Date: Mon, 26 Oct 1998 20:34:07 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you ever do a 'make world' and mkdep fails in libgroff, unable to find a bunch of existing includes for *.cc files, you somehow had CXXFLAGS instantiated with a value before issuing the 'make world'. Unset it. On the other hand, it is a good idea to set CFLAGS permanently to your preferred optimization values (I use -O2 -m486 -pipe). This is because 'configure' scripts test to see if there are pre-existing values in CFLAGS, and ensure they are used in any subsequent compiles. Otherwise the default -O will probably be used. Tom PS. It was fun finding that one! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message