`make`ing kernel for 4.5 with nonnative cc

CBuH. 479001601 at mail.ru
Tue Mar 30 03:32:47 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



"Hello, world!" ;-)

Preamble:

Some time ago I've `configure && make && make install`-ed gcc-3.2.1, while 4.5
box has cc 2.95 (AFAIK).


Issue:

root at telefen# bsdmake depend
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
- -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
- -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf
- -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c
cc1: unrecognized option `-fformat-extensions'
*** Error code 1

Stop in /usr/src/sys/compile/TELEFEN-EXP-1.
root at telefen#

(``bsdmake'' is a copy of native FreeBSD ``make'', while ``make'' is a `ln -s
gmake' -- cause of some badly crafted ``Makefile''s ...)


Is the _only_ solve to get gcc-2.95 to be on the box?
- --

        CBuH. CG[CX] XVyGYjau 479001600(at)mail.ru, ICQ#70929413
	GnuPG(PGP) public key is: http://www.vinnied.narod.ru/pubkey.asc
        http://www.vinnied.narod.ru


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAaVsh5Cj3gqxcdCoRAsbaAJwPExOXfbiXDWH6bLIcr9TEw1r2pQCdEGCg
d79aTYQ7lNnNV5TvpxDBQB4=
=1BZZ
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list