Subject: getting gcc 4.x.x on netbsd 3.1
To: None <netbsd-users@netbsd.org>
From: Michael Kell Jensen <mkj@micrun.net>
List: netbsd-users
Date: 03/11/2007 01:32:18
Hi


Hi i have netbsd i386, on 32 bit computer:
and i want to compile to amd64, with 64 bit enabled
with a gcc toolchain (gcc -v) for 4.x.x


$ uname -a
NetBSD dhcppc1 3.1 NetBSD 3.1 (GENERIC.apm.sound.scroll) #3: Tue Aug 28 
18:58:27 CEST 2007 
run@dhcppc2:/usr/src/sys/arch/i386/compile/GENERIC.apm.sound.scroll i386



is it possible to use 3.1 netbsd, with build.sh
to target gcc 4.x.x toolchain via build.sh
or what is the steps to take. to get
a working 4.x.x toolchain, running (as cross compiling (?))
on netbsd 3.1 (has gcc 3.3.3)


Should i download sets from later netbsd (which 4.0+)
or should i get the sources from gcc site for a
4.x.x compiler.


Thanks for pointers.
And please tell me if there is a better list for this
question.


Michael KJ   cognacc