gcc/boehm-gc/threadlibs.c
Tom Tromey 20bbd3cd53 Merged GC 5.0alpha4 with local changes, plus:
* Makefile.in: Rebuilt.
	* Makefile.am (gctest_LDADD): Added THREADLIB.
	(TESTS): New macro.
	* configure: Rebuilt.
	* configure.in (INCLUDES): New subst.

From-SVN: r30332
1999-11-01 23:15:51 +00:00

18 lines
302 B
C

# include "gcconfig.h"
# include <stdio.h>
int main()
{
# if defined(IRIX_THREADS) || defined(LINUX_THREADS)
printf("-lpthread\n");
# endif
# if defined(HPUX_THREADS)
printf("-lpthread -lrt\n");
# endif
# ifdef SOLARIS_THREADS
printf("-lthread -ldl\n");
# endif
return 0;
}