Imported version version 6.0alpha7.
* 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
2001-05-21 16:35:14 +08:00
|
|
|
# include "private/gcconfig.h"
|
1999-04-07 16:01:30 +08:00
|
|
|
# include <stdio.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
Imported version version 6.0alpha7.
* 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
2001-05-21 16:35:14 +08:00
|
|
|
# if defined(GC_USE_LD_WRAP)
|
2000-05-11 05:59:16 +08:00
|
|
|
printf("-Wl,--wrap -Wl,read -Wl,--wrap -Wl,dlopen "
|
|
|
|
"-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
|
Imported version version 6.0alpha7.
* 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
2001-05-21 16:35:14 +08:00
|
|
|
"-Wl,--wrap -Wl,pthread_detach "
|
|
|
|
"-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
|
|
|
|
# endif
|
2001-10-16 17:01:40 +08:00
|
|
|
# if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
|
|
|
|
|| defined(GC_FREEBSD_THREADS)
|
|
|
|
printf("-lpthread\n");
|
2000-04-19 18:10:01 +08:00
|
|
|
# endif
|
2001-10-16 17:01:40 +08:00
|
|
|
# if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
|
1999-11-02 07:15:51 +08:00
|
|
|
printf("-lpthread -lrt\n");
|
|
|
|
# endif
|
2001-10-16 17:01:40 +08:00
|
|
|
# if defined(GC_SOLARIS_THREADS)
|
1999-04-07 16:01:30 +08:00
|
|
|
printf("-lthread -ldl\n");
|
|
|
|
# endif
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|