mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 02:14:55 +08:00
402823c45e
2000-05-11 Bryce McKinlay <bryce@albatross.co.nz> Imported 5.0 release version. * acinclude.m4: Increment version to 5.0. From-SVN: r33832
27 lines
574 B
C
27 lines
574 B
C
# include "gcconfig.h"
|
|
# include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
# if defined(LINUX_THREADS)
|
|
# ifdef USE_LD_WRAP
|
|
printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
|
|
"-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
|
|
"-Wl,--wrap -Wl,pthread_sigmask -lpthread -ldl\n");
|
|
# else
|
|
printf("-lpthread -ldl\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;
|
|
}
|
|
|