gcc/boehm-gc/threadlibs.c

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;
}