From owner-freebsd-doc@FreeBSD.ORG Tue Nov 17 12:03:26 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 3CC9D10656CB for ; Tue, 17 Nov 2009 12:03:26 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by mx1.freebsd.org (Postfix) with ESMTP id 85D938FC34 for ; Tue, 17 Nov 2009 12:03:18 +0000 (UTC) Received: by mail-bw0-f220.google.com with SMTP id 20so6817677bwz.14 for ; Tue, 17 Nov 2009 04:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=q68svT+av6rq8yw8ubHvCgJxbBiAwDwuPB19mhbhTkQ=; b=ifPaWhLJmHPmEK2T98B7NeMzPN0EmkZXuy8jlVTtVsz1Qunpj9a8yl9kYPv6sVfgPf JDC9nsQtcRr/oZEkey4m2sWNC/JrRaxDeMqAsfKaibL+/idUKt4F6Wl8QtWbhzW19hyS wHGR9NyodkjRRduyI/UASgdjoVyAyGC7n7gVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Ey2/CkTAhKRtLoDGtlBThIM8LnAguSNX8r1pOYX2XMR+fXkomCLirgMHNyAB8fEhbq oQrdGybCGtkRfaxmGbeY0e9aD+nmyUUGZbr0tNkPkEARKeRGGz30/JKyxUv5D7E85ONg wfrxNR0Z6G7iDWsZCPzQ/RrLmXwEV6vz17/WM= MIME-Version: 1.0 Sender: r.c.ladan@gmail.com Received: by 10.239.168.230 with SMTP id l38mr941982hbe.37.1258459394986; Tue, 17 Nov 2009 04:03:14 -0800 (PST) In-Reply-To: <20091116232954.GA6511@lonesome.com> References: <4B01D5C9.4080207@freebsd.org> <20091116232954.GA6511@lonesome.com> Date: Tue, 17 Nov 2009 13:03:14 +0100 X-Google-Sender-Auth: 0bb43d2b5ccebc75 Message-ID: From: Rene Ladan To: Mark Linimon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Tue, 17 Nov 2009 12:03:30 -0000 2009/11/17 Mark Linimon : > Looks nice. =A0Here are some ideas. > >> =A0 =A0 =A0 A future version of &os; will likely have the Clang C/= C++ >> =A0 =A0 =A0 =A0 compiler as its base compiler. =A0Some modifications to = the Ports >> =A0 =A0 =A0 =A0 Collection are necessary. =A0In general, these are write proper >> =A0 =A0 =A0 =A0 =A0 ports and write proper source code. > > To me, this last sentence is worded a little awkwardly (partly because > of the tense). =A0How about: > > =A0In general, these involve generalizing the port and > =A0making the source code portable. > This indeeds sounds better. >> =A0 =A0 =A0 =A0 =A0 =A0 so existing occurences have to be removed. =A0No= concensus has yet > > =A0consensus > aspell also found 'occurrences', I should have spell checked it earlier ... >> =A0 =A0 =A0 =A0 =A0 The maximum useable optimization level is 3. = =A0Level 4 is > > =A0usable (don't feel bad, I had to look it up) > >> =A0 =A0 =A0 Some temporary hacks that might be used if all else fa= ils: > > I'm almost wondering if the c89 hack might be moved to here, but I'm not = sure. > Isn't this more like a flag to be able to compile old code? In this case the c89 flag is not a hack, given that the code is following the standard (here gnu89). See p4 revision 170700 Regards, Rene