mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
93002327db
* 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
27 lines
564 B
C
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;
|
|
}
|
|
|