.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd October 12, 2012
+.Dd October 14, 2012
.Dt COMPILERS.CONF 5
.Os
.Sh NAME
.Va <version>_CXX .
.El
.Pp
-Once configured the compiler can then be used like this:
-.Bd -literal -offset indent
-env CCVER=clang make
-.Ed
-.Pp
-To build world and kernel, use the following instructions:
-.Bd -literal -offset indent
-cd /usr/src
-fetch http://leaf.dragonflybsd.org/~swildner/world_clang.diff
-patch -p1 <world_clang.diff
-env WORLD_CCVER=clang make -DNO_GCC47 buildworld
-env WORLD_CCVER=clang make buildkernel KERNCONF=MYCONF
-.Ed
-.Pp
Currently, defaults are provided for
.Nm clang
(installed from
variable.
The
.Pa cpp ,
-.Pa cc
+.Pa cc ,
etc\&. programs in
.Pa /usr/bin
are actually links to the
.It Pa /etc/compilers.conf
external compiler configuration file
.El
+.Sh EXAMPLES
+Once configured the compiler can be used like this:
+.Bd -literal -offset indent
+env CCVER=clang make
+.Ed
+.Pp
+To try building world and kernel, use:
+.Bd -literal -offset indent
+cd /usr/src
+env WORLD_CCVER=<version> make -DNO_GCC47 buildworld
+env WORLD_CCVER=<version> make buildkernel KERNCONF=MYCONF
+.Ed
.Sh SEE ALSO
.Xr objformat 1 ,
.Xr build 7