i had just installed gcc46 ,now i am trying to compile my kernel with this version for hack ,i added in bsd.own.mk this :
the error i get from buildkernel :
Code:
LIBDIR?= /usr/lib \
/usr/local/lib
INCLUDEDIR?= /usr/include \
/usr/local/include
Code:
cd /usr/obj/usr/src/sys/STABLE; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -f /usr/src
/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /usr/obj/usr/src/sys/STABLE
gcc46 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx
/aicasm/aicasm.c
gcc46: not found
*** Error code 127
Stop in /usr/obj/usr/src/sys/STABLE.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.