linux-threads?

Edouard G. Parmelan Edouard.Parmelan at quadratec.fr
Fri Feb 11 08:35:56 PST 2000


Pavel Roskin wrote:

> I'm trying to port unix-pthreads on LinuxPCC and I have just found the
> following code in config/i386/linux/config.frag:
> 
> if test x"$with_threads" = x"linux-threads" ; then
>         CPPFLAGS="$CPPFLAGS -D_REENTRANT"
>         VM_LIBS="$VM_LIBS -lpthread"
> fi
> 
> Shouldn't linux-threads be replaced with unix-pthreads?
> If this didn't work but nobody noticed it, are those flags necessary?

Well, Tim renames linux-treads to unix-pthreads some time ago.  I don't
know about -D_REENTRANT flag but -lpthread is checked and added to
VM_LIBS in configure.in line 579.
-- 
Edouard G. Parmelan
http://egp.free.fr


More information about the kaffe mailing list