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 10:35:14 +02:00
|
|
|
# include "private/gcconfig.h"
|
1999-04-07 10:01:30 +02: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 10:35:14 +02:00
|
|
|
# if defined(GC_USE_LD_WRAP)
|
2000-05-10 23:59:16 +02: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 10:35:14 +02:00
|
|
|
"-Wl,--wrap -Wl,pthread_detach "
|
|
|
|
"-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
|
|
|
|
# endif
|
2001-10-16 11:01:40 +02:00
|
|
|
# if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
|
2002-02-12 05:37:57 +01:00
|
|
|
|| defined(GC_FREEBSD_THREADS) || defined(GC_SOLARIS_PTHREADS)
|
2001-10-16 11:01:40 +02:00
|
|
|
printf("-lpthread\n");
|
2000-04-19 12:10:01 +02:00
|
|
|
# endif
|
2001-10-16 11:01:40 +02:00
|
|
|
# if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
|
1999-11-02 00:15:51 +01:00
|
|
|
printf("-lpthread -lrt\n");
|
|
|
|
# endif
|
2002-02-12 05:37:57 +01:00
|
|
|
# if defined(GC_SOLARIS_THREADS) && !defined(GC_SOLARIS_PTHREADS)
|
1999-04-07 10:01:30 +02:00
|
|
|
printf("-lthread -ldl\n");
|
|
|
|
# endif
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|