Re: Kernel threads & libc
From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 02/22/05
- Previous message: Dag-Erling Smørgrav: "Re: Error in my C programming"
- In reply to: Dmitry Agaphonov: "Kernel threads & libc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Feb 2005 09:37:08 -0600 To: Dmitry Agaphonov <rzhe@agava.com>
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: Error in my C programming"
- In reply to: Dmitry Agaphonov: "Kernel threads & libc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|