* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
[official-gcc.git] / boehm-gc / threadlibs.c
blob99968a94a6cc9cf1f9e5f7a78264c397a07425bb
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) || 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;