source: trunk/src/gcc/boehm-gc/threadlibs.c@ 1036

Last change on this file since 1036 was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 732 bytes
Line 
1# include "private/gcconfig.h"
2# include <stdio.h>
3
4int main()
5{
6# if defined(GC_USE_LD_WRAP)
7 printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
8 "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
9 "-Wl,--wrap -Wl,pthread_detach "
10 "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
11# endif
12# if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
13 || defined(GC_FREEBSD_THREADS) || defined(GC_SOLARIS_PTHREADS)
14 printf("-lpthread\n");
15# endif
16# if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
17 printf("-lpthread -lrt\n");
18# endif
19# if defined(GC_SOLARIS_THREADS) && !defined(GC_SOLARIS_PTHREADS)
20 printf("-lthread -ldl\n");
21# endif
22 return 0;
23}
24
Note: See TracBrowser for help on using the repository browser.