Hi! Starting with 2.0 NetBSD has native threads. The attached patch adds support for this to the src/templates/netbsd file. (Since, $host_os doesn't include the OS version number I had to take $build.)
Please CC me in your replies since I'm not subscribed to this list. Cheers, Marc
$NetBSD$ --- src/template/netbsd.orig 2003-10-10 00:55:46.000000000 +0200 +++ src/template/netbsd 2004-04-20 01:54:45.000000000 +0200 @@ -1,2 +1,5 @@ THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 1.6 2003-09-14 +case $build in + *-netbsdelf[2-9]*) THREAD_CPPFLAGS="-pthread"; THREAD_LIBS="-pthread" ;; +esac
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil