Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2012 17:59:08 +0800
From:      Alie Tan <alie@affle.com>
To:        freebsd-current@freebsd.org
Subject:   Compile FreeBSD kernel with gcc48
Message-ID:  <CANuCnH-h_J%2BwEHxUKq=4LQjkM68Ca-3=nQFnMqdb8BV=paiOGw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Anyone have experience compiling FreeBSD kernel with gcc48

I have tried it but no success with this in src.conf

C= /usr/local/bin/gcc48
CXX= /usr/local/bin/g++48
CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
\-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
\-Wno-pointer-sign -D__FreeBSD_cc_version=0 \-Wno-unused-function
-Wno-inline -Wno-format \-Wno-uninitialized -Wno-array-bounds
-Wno-missing-prototypes
NO_WERROR= 1

Another question, is there any benchmark for LLVM/Clang vs gcc45, gcc46,
gcc47 or gcc48?

Regards,
Alie T



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH-h_J%2BwEHxUKq=4LQjkM68Ca-3=nQFnMqdb8BV=paiOGw>