`make`ing kernel for 4.5 with nonnative cc
-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: [EMAIL PROTECTED] 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. [EMAIL PROTECTED] (``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- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: `make`ing kernel for 4.5 with nonnative cc
On Tue, Mar 30, 2004 at 03:33:53PM +0400, CBuH. wrote: Is the _only_ solve to get gcc-2.95 to be on the box? Yes, you must compile FreeBSD (kernel + world) with the system compiler. If you want to install another gcc version, use the relevant port, which will happily coexist with the system compiler. Kris pgp0.pgp Description: PGP signature