Re: Compile FreeBSD kernel with gcc48

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Sun, 11 Nov 2012 02:26:04 -0800
On Sun, Nov 11, 2012 at 1:59 AM, Alie Tan <alie_at_affle.com> wrote:

> 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?
>

Uh, probably won't work because of FreeBSD modifications to gcc not being
present in upstream IIRC...
-Garrett
Received on Sun Nov 11 2012 - 09:26:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC