So far I've tested building and running our kernel (which both works).
World hasn't been tested and would fail using default values, since
gnat-aux so far only supports C and Ada.
Many thanks to John Marino <john@marino.st> who did and maintains the
lang/gnat-aux package.
clang_CC=/usr/pkg/bin/clang
clang_CFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu89"
clang_VERSION=4.1.2
+
+# gnat-aux (i.e. gcc 4.6) from pkgsrc
+#
+gcc46_CC=/usr/pkg/bin/gnatgcc
+gcc46_CPP=/usr/pkg/bin/gnatcpp
-isystem /usr/include \
-isystem /usr/include/c++/4.4"
fi
+elif [ "${CCVER}" = "gcc46" ]; then
+ INCOPT="-nostdinc \
+ -isysroot @@INCPREFIX@@ \
+ -isystem /usr/include"
fi
. /etc/defaults/compilers.conf
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 4, 2010
+.Dd February 25, 2011
.Os
.Dt COMPILERS.CONF 5
.Sh NAME
.Nm clang
(installed from
.Xr pkgsrc 7 Ap s
-.Pa lang/clang )
-and
+.Pa lang/clang ),
.Nm clangsvn
(installed from SVN trunk as described in
-.Pa http://clang.llvm.org/get_started.html ) .
+.Pa http://clang.llvm.org/get_started.html )
+and
+.Nm gcc46
+(installed from
+.Xr pkgsrc 7 Ap s
+.Pa lang/gnat-aux ) .
.Sh IMPLEMENTATION NOTES
In
.Dx ,