Add a wrapper script to allow "foreign" compilers into our build system.
authorSascha Wildner <saw@online.de>
Fri, 3 Jul 2009 12:03:54 +0000 (14:03 +0200)
committerSascha Wildner <saw@online.de>
Fri, 3 Jul 2009 12:04:47 +0000 (14:04 +0200)
commitc97b914161d0cd26b116bfaff8f6238a8a222d09
treee2cbfdd6cfbc6c92722b1b0b857b502cd8c993b0
parentfb422ccafeeaf8e9dc595841a308211d5b2a73f1
Add a wrapper script to allow "foreign" compilers into our build system.

With this commit, all CCVER values not associated with a compiler in
base will be relegated to the wrapper script which then (in conjunction
with the compilers.conf file) determines which non-base compiler to
use.

So far, defaults for clang (built from SVN) and pkgsrc/wip/gcc44 are
provided.

For more info see the compilers.conf(5) manual page and my mail on
kernel@:

http://leaf.dragonflybsd.org/mailarchive/kernel/2009-06/msg00013.html
14 files changed:
Makefile.inc1
etc/Makefile
etc/defaults/compilers.conf [new file with mode: 0644]
etc/mtree/BSD.usr.dist
libexec/Makefile
libexec/customcc/Makefile [new file with mode: 0644]
libexec/customcc/cc.sh [new file with mode: 0644]
share/examples/etc/README.examples
share/man/man5/Makefile
share/man/man5/compilers.conf.5 [new file with mode: 0644]
share/mk/Makefile
share/mk/bsd.cpu.custom.mk [new file with mode: 0644]
share/mk/bsd.cpu.mk
usr.bin/objformat/objformat.c