mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
9110a741e3
* README, README.Mac, README.OS2, README.QUICK, README.alpha, README.amiga, README.debugging, README.dj, README.hp, README.linux, README.rs6000, README.sgi, README.solaris2, README.uts, README.win32, SCoptions.amiga, backptr.h, barrett_diagram, dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h, gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h, hpux_irix_threads.c, makefile.depend, nursery.c, solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README, cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h, cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h, include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved files. From-SVN: r42379
30 lines
688 B
C
30 lines
688 B
C
# include "private/gcconfig.h"
|
|
# include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
# if defined(GC_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_detach "
|
|
"-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
|
|
# endif
|
|
# if defined(LINUX_THREADS)
|
|
printf("-lpthread\n");
|
|
# 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
|
|
# ifdef GC_OSF1_THREADS
|
|
printf("-lpthread -lrt\n");
|
|
# endif
|
|
return 0;
|
|
}
|
|
|