pthread_mutex_init() with gcc-3.4.3 on Tru64 UNIX

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


On Mon, Jul 11, 2005 at 11:11:30AM -0400, Ishwar Rattan wrote:
> On Mon, 11 Jul 2005, Albert Chin wrote:
> 
> > On Mon, Jul 11, 2005 at 06:26:14AM -0500, Eljay Love-Jensen wrote:
> > > Use 'gcc -v' while compiling, and 'ldd a.out' to see loader dynamic
> > > libraries.
> >
> > The previous email gives the /opt/TWWfsw/gcc343/bin/gcc -v output.
> > 'ldd a.out' shows a dependency with libc only.
> 
> I first thought that cc linked to /opt/TWWfsw/gcc343/bin/gcc are same.
> If /opt/TWWfsw/gcc343/bin/gcc was not built locally then it might have
> posix thread library compiled into it?

cc is the compiler from Compaq. /opt/TWWfsw/gcc343/bin/gcc was built
locally. It does not have the posix thread library compiled into it.

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc-help mailing list