Subject: Re: getting gcc 4.x.x on netbsd 3.1
To: None <netbsd-users@NetBSD.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: netbsd-users
Date: 10/03/2007 19:27:29
On Jul 31, 8:08pm, Michael Kell Jensen wrote:
}
} 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
It should be possible.
} 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.
You should always use the version of GCC that comes with NetBSD.
So yes, you should download a current version of NetBSD (either
-current or 4.0RC2). Then all you need to is ./build.sh ... -m amd64
... .
}-- End of excerpt from Michael Kell Jensen