diff options
Diffstat (limited to 'gc/threadlibs.c')
| -rw-r--r-- | gc/threadlibs.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gc/threadlibs.c b/gc/threadlibs.c deleted file mode 100644 index 4c6ad581a71..00000000000 --- a/gc/threadlibs.c +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | # include "private/gcconfig.h" | ||
| 2 | # include <stdio.h> | ||
| 3 | |||
| 4 | int 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 | || defined(GC_MACOSX_THREADS) | ||
| 15 | printf("-lpthread\n"); | ||
| 16 | # endif | ||
| 17 | # if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) | ||
| 18 | printf("-lpthread -lrt\n"); | ||
| 19 | # endif | ||
| 20 | # if defined(GC_SOLARIS_THREADS) && !defined(GC_SOLARIS_PTHREADS) | ||
| 21 | printf("-lthread -ldl\n"); | ||
| 22 | # endif | ||
| 23 | # if defined(GC_WIN32_THREADS) && defined(CYGWIN32) | ||
| 24 | printf("-lpthread\n"); | ||
| 25 | # endif | ||
| 26 | # if defined(GC_OSF1_THREADS) | ||
| 27 | printf("-lpthread -lrt"); | ||
| 28 | # endif | ||
| 29 | /* You need GCC 3.0.3 to build this one! */ | ||
| 30 | /* DG/UX native gcc doesnt know what "-pthread" is */ | ||
| 31 | # if defined(GC_DGUX386_THREADS) | ||
| 32 | printf("-ldl -pthread\n"); | ||
| 33 | # endif | ||
| 34 | return 0; | ||
| 35 | } | ||
| 36 | |||