Date: Sun, 15 Nov 2009 13:24:19 -0800 From: Garrett Cooper <gcooper@FreeBSD.org> To: Rene Ladan <rene@freebsd.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 170633 for review Message-ID: <364299f40911151324k6006e335ga40f6c4ea5c8331c@mail.gmail.com> In-Reply-To: <200911142333.nAENXWrT017367@repoman.freebsd.org> References: <200911142333.nAENXWrT017367@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 14, 2009 at 3:33 PM, Rene Ladan <rene@freebsd.org> wrote: > http://p4web.freebsd.org/chv.cgi?CH=3D170633 > > Change 170633 by rene@rene_self on 2009/11/14 23:32:57 > > =A0 =A0 =A0 =A0[porters handbook] > =A0 =A0 =A0 =A0Add a section about Clang to the "Dos and Don'ts" chapter. > =A0 =A0 =A0 =A0To be reviewed by the clang team and the doc review team. > > Affected files ... > > .. //depot/projects/docproj_nl/en_US.ISO8859-1/books/porters-handbook/boo= k.sgml#50 edit > > Differences ... > > =3D=3D=3D=3D //depot/projects/docproj_nl/en_US.ISO8859-1/books/porters-ha= ndbook/book.sgml#50 (text+ko) =3D=3D=3D=3D > > @@ -13602,6 +13602,92 @@ > =A0 =A0 =A0 =A0 =A0shorthand solution.</para> > =A0 =A0 =A0 </sect1> > > + =A0 =A0 =A0<sect1 id=3D"dads-clang"> > + =A0 =A0 =A0 <title>Clang: new C/C++ compiler</title> > + > + =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 <quo= te>write proper > + =A0 =A0 =A0 =A0 =A0 ports</quote> and <quote>write proper source code</= quote>. =A0More > + =A0 =A0 =A0 =A0 specifically:</para> > + > + =A0 =A0 =A0 <itemizedlist> > + =A0 =A0 =A0 =A0 <listitem> > + =A0 =A0 =A0 =A0 =A0 <para>Respect <makevar>CC</makevar> and <makevar>CX= X</makevar>. Do > + =A0 =A0 =A0 =A0 =A0 =A0 not any of <filename>cc</filename>, <filename>c= 99</filename>, > + =A0 =A0 =A0 =A0 =A0 =A0 <filename>gcc</filename>, <filename>c++</filena= me>, or > + =A0 =A0 =A0 =A0 =A0 =A0 <filename>g++</filename> directly.</para> > + =A0 =A0 =A0 =A0 </listitem> This is good practice for writing portable Makefile's, anyhow. Cheers! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364299f40911151324k6006e335ga40f6c4ea5c8331c>