Re: Kernel threads & libc

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 02/22/05

  • Next message: Brian Fundakowski Feldman: "Re: Advanced USB snooping"
    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"
    

  • Next message: Brian Fundakowski Feldman: "Re: Advanced USB snooping"

    Relevant Pages

    • Re: Any OpenSSH for sunos4?
      ... Those mods were included in 3.8x, so if nothing else works then I'd ... This version built just fine. ... configure:1412: checking for gcc ... configure:1721: checking for C compiler default output file name ...
      (comp.security.ssh)
    • Re: Tangent on a Tcl advantage
      ... the format of lib files is vendor specific. ... - build tclstub84.lib, using GCC ... "MyTclExtension.obj" against the GCC built tclstub84.lib, ... another compiler than the one with which the app was built. ...
      (comp.lang.tcl)
    • Re: r8169.c
      ... > Did you change the compiler as well? ... it would be nice to know if the system performs correctly when built with ... I went ahead and remotely rebuilt using gcc 2.95.4 and upon reboot it ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Any OpenSSH for sunos4?
      ... Those mods were included in 3.8x, so if nothing else works then I'd ... This version built just fine. ... The gcc is *WAY* out of date. ... configure:1721: checking for C compiler default output file name ...
      (comp.security.ssh)
    • Re: Whats the story with the "end of XP"?
      ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
      (comp.arch.embedded)