* config/alpha/alpha.h (TARGET_SWITCHES): Turn on
[official-gcc.git] / boehm-gc / threadlibs.c
blob991647ee8490df30919001baf74a82fdf6a74031
1 # include "private/gcconfig.h"
2 # include <stdio.h>
4 int main()
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)
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)
20 printf("-lthread -ldl\n");
21 # endif
22 return 0;