From owner-freebsd-doc@FreeBSD.ORG Mon Nov 16 23:29:55 2009 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544C91065679 for ; Mon, 16 Nov 2009 23:29:55 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 324348FC19 for ; Mon, 16 Nov 2009 23:29:55 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 9F35D8C068; Mon, 16 Nov 2009 17:29:54 -0600 (CST) Date: Mon, 16 Nov 2009 17:29:54 -0600 From: Mark Linimon To: Rene Ladan Message-ID: <20091116232954.GA6511@lonesome.com> References: <4B01D5C9.4080207@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B01D5C9.4080207@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: doc@FreeBSD.org Subject: Re: [RFC] [patch] Clang section for Porters Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 23:29:55 -0000 Looks nice. Here are some ideas. > A future version of &os; will likely have the Clang C/C++ > compiler as its base compiler. Some modifications to the Ports > Collection are necessary. In general, these are write proper > ports and write proper source code. To me, this last sentence is worded a little awkwardly (partly because of the tense). How about: In general, these involve generalizing the port and making the source code portable. > so existing occurences have to be removed. No concensus has yet consensus > The maximum useable optimization level is 3. Level 4 is usable (don't feel bad, I had to look it up) > Some temporary hacks that might be used if all else fails: I'm almost wondering if the c89 hack might be moved to here, but I'm not sure. mcl