Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 09:37:08 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Dmitry Agaphonov <rzhe@agava.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Kernel threads & libc
Message-ID:  <20050222153708.GD253@dan.emsphone.com>
In-Reply-To: <20050222092713.43ed42c3.rzhe@agava.com>
References:  <20050222092713.43ed42c3.rzhe@agava.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 22), Dmitry Agaphonov said:
> I'm forced to implement kernel threads in application not via
> LinuxThreads library (because it doesn't compile on FreeBSD 4.10 with
> gcc-3.4.4, too much errors while processing /usr/src code), but using
> rfork_thread(3).

Why not build the LinuxThreads port with the system's compiler?  It's
not C++ code, so you can link it to code compiled with any compiler
(just like libc, which is built with gcc 2.95 as well).  Just because
your application may require gcc 3.4 doesn't mean that all supporting
libraries have to be built with it too.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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