Skip site navigation (1)Skip section navigation (2)
Date:      02 Jul 2001 15:12:35 +0200
From:      Eric Jacoboni <jaco@teaser.fr>
To:        questions@freebsd.org
Subject:   Re: GCC 3.0
Message-ID:  <86k81r5vb0.fsf@titine.fr.eu.org>
In-Reply-To: <15151.23008.225837.880927@guru.mired.org> (Mike Meyer's message of "Tue, 19 Jun 2001 08:55:44 -0500")
References:  <15151.23008.225837.880927@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Mike" == Mike Meyer <mwm@mired.org> writes:

>> I heard GCC 3.0 was released yesterday.
>> will GCC 3.0 be in FreeBSD 4.4?

Mike> Since it's already in -STABLE as /usr/ports/lang/gcc30, yes.

In fact, the port gcc30 is not the true release but a snapshot (gcc
version 3.0 20010430 (prerelease))... And, at least on my box, this
snapshot is heavy buggy. Try this well known example :

#include <iostream>
int main(void) {
  char myName[20];
  std::cin >> myName;
  std::cout << "Hello" << myName << std::endl;
}

$ g++30 -ansi -pedantic myname.cpp
$ ./a.out
Mike
Hello
$ g++ -ansi -pedantic myname.cpp
$ ./a.out
Mike
Hello Mike
$

cin >> seems to be broken :(

I'm currently trying to build a gcc 3.0 release from scratch but i've
problem with shared libs.
-- 
Éric Jacoboni, né il y a 1297522759 secondes

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k81r5vb0.fsf>