Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 15:33:53 +0400
From:      "CBuH." <479001601@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   `make`ing kernel for 4.5 with nonnative cc
Message-ID:  <200403301529.40441.479001601@mail.ru>

next in thread | raw e-mail | index | archive | help
-----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@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@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403301529.40441.479001601>