Annotation of OpenXM_contrib2/asir2000/gc/threadlibs.c, Revision 1.3
1.1 noro 1: # include "gcconfig.h"
2: # include <stdio.h>
3:
4: int main()
5: {
1.3 ! noro 6: # if defined(LINUX_THREADS)
! 7: # ifdef USE_LD_WRAP
! 8: printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
! 9: "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
! 10: "-Wl,--wrap -Wl,pthread_sigmask -lpthread -ldl\n");
! 11: # else
! 12: printf("-lpthread -ldl\n");
! 13: # endif
! 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");
23: # endif
24: return 0;
25: }
26:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>