Annotation of OpenXM_contrib2/asir2000/gc/threadlibs.c, Revision 1.4
1.4 ! noro 1: # include "private/gcconfig.h"
1.1 noro 2: # include <stdio.h>
3:
4: int main()
5: {
1.4 ! noro 6: # if defined(GC_USE_LD_WRAP)
1.3 noro 7: printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
8: "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
1.4 ! noro 9: "-Wl,--wrap -Wl,pthread_detach "
! 10: "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
! 11: # endif
! 12: # if defined(LINUX_THREADS)
! 13: printf("-lpthread\n");
1.3 noro 14: # endif
15: # if defined(IRIX_THREADS)
1.1 noro 16: printf("-lpthread\n");
17: # endif
1.2 noro 18: # if defined(HPUX_THREADS)
19: printf("-lpthread -lrt\n");
20: # endif
1.1 noro 21: # ifdef SOLARIS_THREADS
22: printf("-lthread -ldl\n");
1.4 ! noro 23: # endif
! 24: # ifdef GC_OSF1_THREADS
! 25: printf("-lpthread -lrt\n");
1.1 noro 26: # endif
27: return 0;
28: }
29:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>