Subject: RE: Compiling user-lang with gcc 3.3
To: Sverre Froyen <current-users@netbsd.org>
From: Ciarcinski, Adam (ISS Brussels) <ACiarcinski@iss.net>
List: current-users
Date: 06/04/2003 09:40:06
> I just got through compiling and installing user-land using=20
> gcc 3.3 from=20
> pkgsrc.  It compiles (and runs) with just a couple of minor blemishes=20
> during compilation (listed below).  Now on to xsrc...
>=20
> Thanks everyone,

Sverre,

I wouldn't compile 'tools'.  Add "USETOOLS=3Dnever" to /etc/mk.conf.
Otherwise it's not worth using gcc-3.3, is it? ;)

Also, using "NOGCCERROR=3Dyes" will make compilation continue on
warnings (except when compiling the kernel).

gnu/lib/libgcc and gnu/libstdc++ have to be compiled with gcc-2.95.3

Add "/usr/pkg/gcc-3.3/lib" to /etc/ld.so.conf

In "/usr/pkg/gcc-3.3/lib/gcc-lib/i386--netbsdelf/3.3/include/varargs.h"
remove all "#error"s and insert "#include <stdarg.h>"

(Some paths may be different)

Should work almost completely. :D

	kind regards

		- Adam