1999-11-02 00:15:51 +01:00
|
|
|
# include "gcconfig.h"
|
1999-04-07 10:01:30 +02:00
|
|
|
# include <stdio.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2000-04-19 12:10:01 +02:00
|
|
|
# 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)
|
1999-04-07 10:01:30 +02:00
|
|
|
printf("-lpthread\n");
|
|
|
|
# endif
|
1999-11-02 00:15:51 +01:00
|
|
|
# if defined(HPUX_THREADS)
|
|
|
|
printf("-lpthread -lrt\n");
|
|
|
|
# endif
|
1999-04-07 10:01:30 +02:00
|
|
|
# ifdef SOLARIS_THREADS
|
|
|
|
printf("-lthread -ldl\n");
|
|
|
|
# endif
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|