Date: Tue, 17 Nov 2009 13:03:14 +0100 From: Rene Ladan <rene@freebsd.org> To: Mark Linimon <linimon@lonesome.com> Cc: "doc@FreeBSD.org" <doc@freebsd.org> Subject: Re: [RFC] [patch] Clang section for Porters Handbook Message-ID: <e890cae60911170403i234fda84t35ddddf7f27ff173@mail.gmail.com> In-Reply-To: <20091116232954.GA6511@lonesome.com> References: <4B01D5C9.4080207@freebsd.org> <20091116232954.GA6511@lonesome.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/11/17 Mark Linimon <linimon@lonesome.com>: > Looks nice. =A0Here are some ideas. > >> =A0 =A0 =A0 <para>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 <quot= e>write proper >> =A0 =A0 =A0 =A0 =A0 ports</quote> and <quote>write proper source code</q= uote>. > > To me, this last sentence is worded a little awkwardly (partly because > of the tense). =A0How about: > > =A0In general, these involve <quote>generalizing the port</quote> and > =A0<quote>making the source code portable</quote>. > 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 <para>The maximum useable optimization level is 3. = =A0Level 4 is > > =A0usable (don't feel bad, I had to look it up) > >> =A0 =A0 =A0 <para>Some temporary hacks that might be used if all else fa= ils:</para> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e890cae60911170403i234fda84t35ddddf7f27ff173>