Subject: Re: gcc4.1 in NetBSD
To: None <>
From: Christian Biere <>
List: netbsd-users
Date: 11/18/2006 05:39:37
arnuld wrote:
> >> i just installed NetBSD 3.1 & came to know that it uses "gcc 3.3.3"
> >> which is quite old. i am learning ISO C++ & will be doing some
> >> projects, hence i need to have gcc 4.1. is it possible to have it on
> >> NetBSD 3.1?  i chekced the "packages list" & gcc 4.1 is not there.
> >
> >Grab the latest NetBSD please.
> did you read my email clearly?

Whoever wrote that probably meant NetBSD-current because it has GCC 4.1.

> i have NetBSD 3.1. this is the latest release & it has gcc 3.3 but i
> want gcc 4.1.1. is it possible to do so?

Yes, of course, unfortunately you have to compile it yourself because
it's neither in base nor in pkgsrc. I used a manually compiled GCC 4.x
before and there was some compile trouble but I forgot how I fixed it.