gcc/boehm-gc/threadlibs.c
Bryce McKinlay 93002327db Imported version version 5.0alpha6.
* acinclude.m4: Bump version to 5.0a6.
	* configure.in: Don't use alpha_mach_dep.s.
	* include/private/config.h, irix_threads.c gc_watcom.asm: Delete
	obsolete files.

From-SVN: r33251
2000-04-19 11:10:01 +01:00

27 lines
564 B
C

# include "gcconfig.h"
# include <stdio.h>
int main()
{
# if defined(LINUX_THREADS)
# ifdef USE_LD_WRAP
printf("-Wl,\"--wrap read\" -Wl,\"--wrap dlopen\" "
"-Wl,\"--wrap pthread_create\" -Wl,\"--wrap pthread_join\" "
"-Wl,\"--wrap pthread_sigmask\" -lpthread\n");
# else
printf("-lpthread\n");
# endif
# endif
# if defined(IRIX_THREADS)
printf("-lpthread\n");
# endif
# if defined(HPUX_THREADS)
printf("-lpthread -lrt\n");
# endif
# ifdef SOLARIS_THREADS
printf("-lthread -ldl\n");
# endif
return 0;
}