pthread_mutex_init() with gcc-3.4.3 on Tru64 UNIX

Albert Chin gcc-help@mlists.thewrittenword.com
Mon Jul 11 10:55:00 GMT 2005


On Sat, Jul 09, 2005 at 01:24:58PM -0400, Ishwar Rattan wrote:
> 
> On Sat, 9 Jul 2005, Albert Chin wrote:
> 
> > I know. I'm curious why:
> >   $ /opt/TWWfsw/gcc343/bin/gcc mutex.c
> > succeeds. I'd expect it to fail, just as 'cc mutex.c' failed.
> Try /opt/TWWfsw/gcc343/bin/gcc -v | grep thread

Reading specs from
/opt/TWWfsw/gcc343/lib/gcc/alpha-dec-osf5.1/3.4.3/specs
Configured with: /opt/build/gcc-3.4.3/configure --enable-nls
--with-included-gettext --enable-shared --enable-threads
--host=alpha-dec-osf5.1 --with-local-prefix=/opt/TWWfsw/gcc343
--prefix=/opt/TWWfsw/gcc343
Thread model: posix
gcc version 3.4.3 (TWW)

Does it succeed because I compiled with --enable-threads?

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc-help mailing list