Re: Updating system GCC
On Friday 08 June 2007 10:07:20 am Gerard wrote: > I noticed this on the FreeBSD site regarding the latest version of > JAVA: > > January 24, 2007: Greg Lewis has released the fourth patchset > (patchlevel 4, "Sumatran") for the JDK 1.5.0 software. This release > builds with GCC 4 and includes a number of bug fixes. > > FreeBSD-6.2 does not come with GCC 4 or newer. While it is relatively > trivial to install it manually, it then is necessary to make changes > to the system /etc/make.conf file to insure its use. Wouldn't it be > more efficient for the FreeBSD team to integrate GCC 4.3 (I think that > is the latest stable version) into the base system? From what I have > read, this latest version has some major improvements over its > predecessors. Chaning the major version number of the default system compiler is not something that is ever likely to happen on a -STABLE branch, which is what 6.x is now. GCC 4.2 has been imported into 7.0-CURRENT, and works well there. IIRC the plan is to have GCC 4.2.1 or similar for 7.0-RELEASE, but check the -current archives to verify. And actually, I think you're mis-reading the announcement. The fact that it builds with gcc 4 is an improvement over the previous patchset which didn't. That does not mean that it requires gcc 4, and I see nothing in the port's Makefile to indicate that it requires any particular version of the compiler. Just "cd /usr/ports/java/jdk15 && make install clean" and you should be good to go (once you get all the source files downloaded manually...) JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Updating system GCC
Gerard escribió: I noticed this on the FreeBSD site regarding the latest version of JAVA: January 24, 2007: Greg Lewis has released the fourth patchset (patchlevel 4, "Sumatran") for the JDK 1.5.0 software. This release builds with GCC 4 and includes a number of bug fixes. FreeBSD-6.2 does not come with GCC 4 or newer. While it is relatively trivial to install it manually, it then is necessary to make changes to the system /etc/make.conf file to insure its use. Wouldn't it be more efficient for the FreeBSD team to integrate GCC 4.3 (I think that is the latest stable version) into the base system? From what I have read, this latest version has some major improvements over its predecessors. Hello Gerard, the workaround you wrote is not necessary, the Ports Collection infrastructure is aware of the necessay GCC version, via the USE_GCC macro. The java/jdk15 port should just be built without problems. As for the GCC import, the upcoming 7.X will ship with GCC 4.2. Afaik, 4.3 is not a stable version yet. For older releases it is not supposed to merging such big changes from -CURRENT, like a system compiler change. Such needs a lot of testing and anyway, we want to have those branches clean and stable. Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"