Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 09:45:38 -0700
From:      Steve Passe <smp@csn.net>
To:        Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        current@FreeBSD.ORG
Subject:   Re: newer gcc? 
Message-ID:  <199811161645.JAA22267@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Mon, 16 Nov 1998 07:06:33 %2B0100." <19981116070633.A13428@keltia.freenix.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> According to Terry Lambert:
> > unless you compile it with threading enabled (unlike g++ 2.8.1, you
> > must choose threading or no threading for resulting binaries at the
> > time you compile the compiler, not at the time you compile the
> > program).
> 
> Last time I looked at a generic gcc 2.8.1, it also required you to specify
> --enable-threads for configure. Are you really sure about this big
> difference between egcs & gcc ?

A quick scan of the 2.8.1 source leads me to believe that this is only for
objective-c thread support.

We are successfully using gcc 2.8.1 with threads in a fairly complex project,
didn't need to use 'enable-threads'.  However we did need to patch both
gcc and libc_r source to handle exceptions (see the archives for my patches).

--
Steve Passe	| powered by 
smp@csn.net	|            Symmetric MultiProcessor FreeBSD



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



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