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)
|
2003-07-28 06:18:23 +02:00
|
|
|
printf("-Wl,--wrap -Wl,dlopen "
|
2000-05-10 23:59:16 +02:00
|
|
|
"-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) \
|
2003-07-28 06:18:23 +02:00
|
|
|
|| defined(GC_FREEBSD_THREADS) || defined(GC_SOLARIS_PTHREADS) \
|
|
|
|
|| defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
|
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");
|
2003-07-28 06:18:23 +02:00
|
|
|
# endif
|
|
|
|
# if defined(GC_WIN32_THREADS) && defined(CYGWIN32)
|
|
|
|
printf("-lpthread\n");
|
|
|
|
# endif
|
|
|
|
# if defined(GC_OSF1_THREADS)
|
|
|
|
printf("-pthread -lrt"); /* DOB: must be -pthread, not -lpthread */
|
|
|
|
# endif
|
|
|
|
/* You need GCC 3.0.3 to build this one! */
|
|
|
|
/* DG/UX native gcc doesnt know what "-pthread" is */
|
|
|
|
# if defined(GC_DGUX386_THREADS)
|
|
|
|
printf("-ldl -pthread\n");
|
1999-04-07 10:01:30 +02:00
|
|
|
# endif
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|