/[dotgnu-pnet]/pnet/libgc/threadlibs.c
ViewVC logotype

Diff of /pnet/libgc/threadlibs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tum, Wed May 26 22:32:35 2004 UTC revision 1.5 by ktreichel, Sat Jul 23 12:52:58 2005 UTC
# Line 1  Line 1 
1    # include "gc_config_macros.h"
2  # include "private/gcconfig.h"  # include "private/gcconfig.h"
3  # include <stdio.h>  # include <stdio.h>
4    
# Line 10  int main() Line 11  int main()
11                 "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");                 "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
12  #   endif  #   endif
13  #   if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \  #   if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
14          || defined(GC_FREEBSD_THREADS) || defined(GC_SOLARIS_PTHREADS) \          || defined(GC_SOLARIS_PTHREADS) \
15          || defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)          || defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
16          printf("-lpthread\n");          printf("-lpthread\n");
17  #   endif  #   endif
18    #   if defined(GC_FREEBSD_THREADS)
19    #       if (__FREEBSD_version >= 500000)
20              printf("-lpthread\n");
21    #       else
22              printf("-pthread\n");
23    #       endif
24    #   endif
25  #   if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)  #   if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
26          printf("-lpthread -lrt\n");          printf("-lpthread -lrt\n");
27  #   endif  #   endif

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26