summaryrefslogtreecommitdiff
path: root/WCC_MAKEFILE
Commit message (Collapse)AuthorAgeFilesLines
* Build with GC_wcsdup support if wcslen existsIvan Maidanski2022-10-291-2/+1
| | | | | | | | | | | | | | | | | | Now, digimars.mak, NT_MAKEFILE and WCC_MAKEFILE scripts pass -D GC_REQUIRE_WCSDUP option to the compiler unconditionally to build GC_wcsdup API function. CMakeLists.txt and configure.ac pass this option to the compiler after successful probing whether wcslen() is provided on the host. Makefile.direct does not pass the option by default, only the comment about the option is added (because this script cannot check availability of wcslen in libc). * CMakeLists.txt (HAVE_WCSLEN): Set if wcslen symbol exists in wchar.h. * Makefile.direct (CFLAGS_EXTRA): Add comment of -D GC_REQUIRE_WCSDUP. * NT_MAKEFILE (CFLAGS_DEFAULT): Add -D GC_REQUIRE_WCSDUP. * WCC_MAKEFILE (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * configure.ac (GC_REQUIRE_WCSDUP): Define if the code snippet including wchar.h and calling wcslen() can be compiled and linked.
* Name all tests consistentlyIvan Maidanski2022-02-071-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (refactoring) In brief, the tests naming as follows: all test executable files end with "test" (not "_test"); all test source files do not have "test" suffix (except for gctest); test.c is named now as gctest.c. * CMakeLists.txt: Rename leak_test.c to leak.c; rename huge_test.c to huge.c; rename leak_test.c to leak.c; rename realloc_test.c to realloc.c; rename smash_test.c to smash.c; rename staticrootslib.c to staticroots_lib.c; rename trace_test.c to trace.c; rename thread_leak_test.c to threadleak.c; rename threadkey_test to threadkey_test; rename threadkey_test.c to threadkey.c; rename subthreadcreate_test to subthreadcreatetest; rename subthread_create.c to subthreadcreate.c; rename initsecondarythread_test to initfromthreadtest; rename initsecondarythread.c to initfromthread.c; rename disclaim_test to disclaimtest; rename disclaim_test.c to disclaim.c; rename disclaim_weakmap_test to weakmaptest; rename disclaim_weakmap_test.c to weakmap.c. * tests/tests.am: Likewise. * CMakeLists.txt: Rename test.c to gctest.c; rename test_cpp to cpptest; rename test_cpp.cc to cpp.cc. * Makefile.direct: Likewise. * NT_MAKEFILE: Likewise. * README.md (Installation and Portability): Likewise. * WCC_MAKEFILE: Likewise. * digimars.mak: Likewise. * doc/README.Mac: Likewise. * tests/tests.am: Likewise. * CMakeLists.txt: rename test_atomic_ops.c to atomicops.c; rename test_atomic_ops to atomicopstest. * configure.ac [$with_libatomic_ops=check]: Likewise. * ChangeLog (8.3.0): Rename threadkey_test to threadkeytest; rename test_atomic_ops to atomicopstest; rename test_cpp to cpptest. * Makefile.direct: Rename test.o to gctest.o. * NT_MAKEFILE: Rename test_cpp.exe to cpptest.exe; rename test.obj to gctest.obj. * WCC_MAKEFILE: Likewise. * digimars.mak: Likewise. * doc/README.win64: Likewise. * configure.ac: Rename test_cpp to cpptest in comment. * doc/leak.md: Rename leak_test.c to leak.c. * tests/test_atomic_ops.c: Rename to atomicops.c; remove test name in "skipped" message. * tests/test_cpp.cc: Rename to cpp.cc; rename test_cpp to cpptest. * tests/disclaim_test.c: Rename to disclaim.c. * tests/test.c: Rename to gctest.c. * tests/huge_test.c: Rename to huge.c. * tests/initsecondarythread.c: Rename to initfromthread.c. * tests/leak_test.c: Rename to leak.c. * tests/realloc_test.c: Rename to realloc.c. * tests/smash_test.c: Rename to smash.c. * tests/staticrootstest.c: Rename to staticroots.c. * tests/staticrootslib.c: Rename to staticroots_lib.c. * tests/subthread_create.c: Rename to subthreadcreate.c; remove test name in printed messages. * tests/threadkey_test.c: Rename to threadkey.c; remove test name in "skipped" message. * tests/thread_leak_test.c: Rename to threadleak.c. * tests/trace_test.c: Rename to trace.c. * tests/disclaim_weakmap_test.c: Rename to weakmap.c; rename disclaim_test.c to disclaim.c in comment.
* Remove ancient OS2_MAKEFILEIvan Maidanski2021-11-291-1/+1
| | | | | | | | | | WCC_MAKEFILE could be used instead (for OS/2 target). * Makefile.am (EXTRA_DIST): Remove OS2_MAKEFILE item. * OS2_MAKEFILE: Remove. * WCC_MAKEFILE: Change "OS2" to "OS/2" in the title comment. * doc/README.OS2: Refer to WCC_MAKEFILE instead of OS2_MAKEFILE; copy notes from OS2_MAKEFILE.
* Add check-deps goal to Makefiles to build the tests but not execute themIvan Maidanski2021-10-301-1/+3
| | | | | | | | | | | | | | | | | | | * Makefile.direct (check-deps, check-cpp-deps): Document goals (add comment). * Makefile.direct (check-cpp-deps, check-deps): New goal. * NT_MAKEFILE (check-deps): Likewise. * OS2_MAKEFILE (check-deps): Likewise. * SMakefile.amiga (check-deps): Likewise. * Makefile.direct (check-cpp): Depend on check-cpp-deps instead of test_cpp. * Makefile.direct (check): Depend on check-deps instead of cordtest, gctest, setjmp_test, test_cpp. * NT_MAKEFILE (check): Depend on check-deps instead of gctest.exe, test_cpp.exe, cordtest.exe, de.exe. * OS2_MAKEFILE (check): Depend on check-deps instead of gctest.exe and cordtest.exe. * SMakefile.amiga (check): Depend on check-deps instead of setjmp_t, gctest, cordtest.
* Support CFLAGS_EXTRA for rare build scripts (NT/OS2/WCC_MAKEFILE)Ivan Maidanski2021-10-261-2/+5
| | | | | | | | | * NT_MAKEFILE (CFLAGS_EXTRA): New variable (defined as empty). * OS2_MAKEFILE (CFLAGS_EXTRA): Likewise. * WCC_MAKEFILE (CFLAGS_EXTRA): Likewise. * NT_MAKEFILE (.c.obj, .cpp.obj): Pass $(CFLAGS_EXTRA) to cc. * OS2_MAKEFILE (CFLAGS): Append $(CFLAGS_EXTRA). * WCC_MAKEFILE (CFLAGS, TEST_CFLAGS): Likewise.
* Build gctba libraryIvan Maidanski2019-11-071-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #268 (bdgwc). The library exports only GC_throw_bad_alloc C++ function. It is intended to solve "undefined reference to GC_throw_bad_alloc" linkage error when the client needs to avoid linking with gccpp library (to avoid "::new" redirection, in turn). * CMakeLists.txt (enable_throw_bad_alloc_library): New option (ON by default). * CMakeLists.txt [enable_cplusplus && enable_throw_bad_alloc_library] (gctba): New library. * Makefile.am [CPLUSPLUS && GC_TBA_LIBRARY] (lib_LTLIBRARIES): Add libgctba.la item. * Makefile.am [CPLUSPLUS && GC_TBA_LIBRARY] (libgctba_la_SOURCES, libgctba_la_LIBADD, libgctba_la_LDFLAGS): New variable. * Makefile.direct: Update head comment (mention gctba.a). * Makefile.direct (bsd-libgctba.a, gctba.a): New target. * NT_MAKEFILE (gctba.lib): Likewise. * WCC_MAKEFILE (gctba.lib): Likewise. * WCC_MAKEFILE [!ENABLE_STATIC] (gctba.dll): Likewise. * Makefile.direct (bsd-libgc.a): Move gctba.a to bsd-libgctba.a. * Makefile.direct (BSD-pkg-install): Copy bsd-libgctba.a; install libgctba.a. * Makefile.direct (c++): Add dependency on gc_badalc.o; call rus, $(AR) and $(RANLIB) for gctba.a. * NT_MAKEFILE (all): Add dependency on gctba.lib. * WCC_MAKEFILE (all): Likewise. * README.QUICK: Update information about "make c++" (reference libgctba.a, libgctba.so and doc/gcinterface.md). * configure.ac (throw-bad-alloc-library): Specify new AC_ARG_ENABLE. * configure.ac (GC_TBA_LIBRARY): New AM_CONDITIONAL. * doc/gcinterface.md (Class inheritance based interface): Add information about libgctba library; document GC_NEW_ABORTS_ON_OOM and GC_INCLUDE_NEW macros.
* Move GC_throw_bad_alloc definition to new C++ fileIvan Maidanski2019-11-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #268 (bdgwc). * CMakeLists.txt [enable_cplusplus] (gccpp): Add gc_badalc.cc library source file. * Makefile.am [CPLUSPLUS] (libgccpp_la_SOURCES): Likewise. * Makefile.am (EXTRA_DIST): Add gc_badalc.cpp. * Makefile.direct (SRCS): Add gc_badalc.cc. * Makefile.direct (gc_badalc.o): New target. * NT_MAKEFILE (gc_badalc.obj): Likewise. * WCC_MAKEFILE (gc_badalc.obj): Likewise. * digimars.mak (gc_badalc.obj): Likewise. * build/s60v3/libgc.mmp (SOURCE): Mention gc_badalc.cpp (commented out). * Makefile.direct (c++): Add dependency on gc_badalc.o; pass gc_badalc.o to ru tool. * NT_MAKEFILE (gccpp.lib): Add dependency on gc_badalc.obj; pass gc_badalc.obj to lib or link tool. * WCC_MAKEFILE (gccpp.lib, gccpp.dll): Likewise. * digimars.mak (OBJS): Add gc_badalc.obj. * doc/README.Mac (Files to build the GC libraries): Add gc_badalc.cc. * doc/gcinterface.md (C++ Interface): Mention gc_badalc.cc file. * gc_badalc.cc: New file. * gc_badalc.cpp: Likewise. * gc_cpp.cc (GC_throw_bad_alloc): Move to gc_badalc.cc. * gc_cpp.cc (GC_ALLOCATOR_THROW_OR_ABORT): Add comment; do not define unless GC_NO_INLINE_STD_NEW, or not _MSC_VER and not __DMC__. * tests/tests.am [CPLUSPLUS && AVOID_CPP_LIB] (test_cpp_LDADD): Add gc_badalc.o.
* Compile gc.c unless building static libraries (NT_MAKEFILE, WCC_MAKEFILE)Ivan Maidanski2019-07-251-8/+11
| | | | | | | | | | | This is to match the behavior of CMake and configure scripts. * NT_MAKEFILE [!ENABLE_STATIC] (OBJS): Set to extra\gc.obj, extra\msvc_dbg.obj. * WCC_MAKEFILE (OBJS): Define only if ENABLE_STATIC. * WCC_MAKEFILE [!ENABLE_STATIC] (gc.obj): New target. * WCC_MAKEFILE [!ENABLE_STATIC] (gc.dll): Depend on and append gc.obj instead of $(OBJS) elements.
* Build cord.lib by Makefile.direct, NT_MAKEFILE, OS2_MAKEFILE, WCC_MAKEFILEIvan Maidanski2019-07-241-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: Makefile.direct builds cord.a (not libcord.a or cord.lib). * Makefile.direct: Update header comment about all and cords targets. * Makefile.direct (all): Depend also on cords. * Makefile.direct (cord.a): New target (duplicates cords target). * Makefile.direct (cords): Do not depend on base_lib; create cord.a instead of updating gc.a. * Makefile.direct (cordtest, de): Depend on cords instead of $(CORD_OBJS); pass cord.a (instead of $(CORD_OBJS)) to $(CC). * NT_MAKEFILE (CFLAGS_MT): Move variable definition (which uses cvarsmt) to be after CORDFLAG one. * NT_MAKEFILE (CORDFLAG, COBJS): New variable. * WCC_MAKEFILE (CORDFLAG, COBJS): Likewise. * NT_MAKEFILE [!ENABLE_STATIC] (cvarsmt): Set variable value to empty; add comment. * NT_MAKEFILE (all): Depend also on cord.lib. * OS2_MAKEFILE (all): Likewise. * WCC_MAKEFILE (all): Likewise. * NT_MAKEFILE (check): Depend also on cordtest.exe; run also cordtest. * WCC_MAKEFILE (check): Likewise. * NT_MAKEFILE (.c.obj): Remove -DCORD_NOT_DLL; add $(CORDFLAG). * NT_MAKEFILE (cord.lib, cordtest.exe): New target. * OS2_MAKEFILE (cord.lib, cordtest.exe, clean): Likewise. * WCC_MAKEFILE (cord.lib, cordtest.exe, cordbscs.obj, cordxtra.obj, cordprnt.obj, cordtest.obj): Likewise. * WCC_MAKEFILE [!ENABLE_STATIC] (cord.dll): Likewise. * NT_MAKEFILE (de.exe): Depend on cord.lib instead of cordbscs.obj and cordxtra.obj. * NT_MAKEFILE (clean): Delete cordtst*.tmp files; delete *.lib, *.dll, and *.exp files instead of gc*.lib, gc*.dll, gc*.exp, cord\*.exe, cord\*.exp, cord\*.lib, cord\*.pdb. * README.md (Installation and Portability): Update information about "make cords".
* Rename make_as_lib option to enable_static in NT_MAKEFILE and WCC_MAKEFILEIvan Maidanski2019-07-201-23/+20
| | | | | | | | | | | | | | This is to match the behavior of CMake script. * NT_MAKEFILE: Update header comment (rename make_as_lib to enable_static). * NT_MAKEFILE (MAKE_AS_LIB): Rename to ENABLE_STATIC. * WCC_MAKEFILE (MAKE_AS_DLL): Remove (check "ndef ENABLE_STATIC" instead). * WCC_MAKEFILE (MAKE_AS_LIB): Rename to ENABLE_STATIC; update comment. * doc/README.win32 (Microsoft Tools): Rename make_as_lib to enable_static. * doc/README.win64: Likewise.
* Build shared libraries by default (WCC_MAKEFILE)Ivan Maidanski2019-07-191-2/+2
| | | | | | | This is to match the behavior of CMake script. * WCC_MAKEFILE (MAKE_AS_DLL): Uncomment. * WCC_MAKEFILE (MAKE_AS_LIB): Comment out.
* Build gccpp library by Makefile.direct, NT_MAKEFILE and WCC_MAKEFILEIvan Maidanski2019-07-191-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.direct: Update header comment about all, gc.a (base_lib), c++, check, check-cpp targets. * Makefile.direct (CXX): Refine comment. * Makefile.direct (all): Depend also on c++. * Makefile.direct (bsd-libgccpp.a): New target (duplicates bsd-libgc.a one). * Makefile.direct (bsd-libgc.a): Add a rename of gccpp.a to bsd-libgccpp.a. * Makefile.direct (BSD-pkg-install): Copy bsd-libgccpp.a file to libgccpp.a, install the latter one. * Makefile.direct (test_cpp): Depend on c++ instead of gc_cpp.o; pass gccpp.a (instead of gc_cpp.o) to $(CXX). * Makefile.direct (gccpp.a): New target (duplicates c++ one). * Makefile.direct (c++): Do not depend on gc_cpp.h and base_lib; create gccpp.a instead of updating gc.a. * Makefile.direct (clean): Delete *.a files instead of gc.a. * Makefile.direct (check): Depend also on test_cpp$(EXEEXT); run also test_cpp. * NT_MAKEFILE (LINK_GC, LINK_DLL_FLAGS): Remove variable. * NT_MAKEFILE (OBJS): Remove gc_cpp.obj. * NT_MAKEFILE (all, test_cpp.exe): Depend also on gccpp.lib. * WCC_MAKEFILE (all, test_cpp.exe): Likewise. * NT_MAKEFILE (gccpp.lib): New target (depending on gc_cpp.obj). * WCC_MAKEFILE (gccpp.lib): Likewise. * WCC_MAKEFILE [MAKE_AS_DLL] (gccpp.dll): Likewise. * NT_MAKEFILE (test_cpp.exe): Pass gccpp.lib to $(link). * WCC_MAKEFILE [MAKE_AS_LIB] (MAKE_AS_LIB): Set to -DGC_NOT_DLL. * WCC_MAKEFILE (gc.lib): Do not depend gc_cpp.obj. * WCC_MAKEFILE [MAKE_AS_DLL] (gc.lib): Do not add gc_cpp.obj to gc.lib. * WCC_MAKEFILE [MAKE_AS_DLL] (gc.dll): Specify "op case".
* Suppress warnings in test_tinyfl() of gctest reported by Watcom C complierIvan Maidanski2019-07-161-1/+1
| | | | | * WCC_MAKEFILE (test.obj): Pass /wcd=13 /wcd=201 /wcd=367 /wcd=368 options to $(CC).
* Do not build tests by default (Makefile.direct and other Makefiles)Ivan Maidanski2019-07-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to match the behavior of configure-based Makefile and the CMake script. Tests are built and executed now by `make check`. * BCC_MAKEFILE (all): Depend on gc.lib only (instead of gctest, de and test_cpp). * OS2_MAKEFILE (all): Likewise. * BCC_MAKEFILE (check): New target to build and run the tests (de is not executed). * NT_MAKEFILE (check): Likewise. * Makefile.direct (all): Remove dependency on gctest. * NT_MAKEFILE (all): Remove dependency on gctest, de and test_cpp; add dependency on gc.lib. * OS2_MAKEFILE (check): New target to build and run gctest and cordtest. * README.QUICK (INSTALLATION): Change "make test" to "make check". * README.md (Installation and Portability): Likewise. * doc/README.arm.cross: Likewise. * SMakefile.amiga (all): Depend on gc.lib and cord.lib only (instead of gctest, setjmp_t, cordtest). * SMakefile.amiga (test): Rename to "check". * WCC_MAKEFILE (all): Remove dependency on gctest and test_cpp. * digimars.mak (targets): Likewise. * WCC_MAKEFILE (check): New symbolic target to build and run gctest and test_cpp. * digimars.mak (check): Likewise. * digimars.mak (gc.lib): New target (depend on gc.dll target). * doc/README.win32 (Watcom compiler): Remove information that wmake compiles the tests by default. * doc/README.win64: Update information about tests building.
* Turn on memory unmapping in BCC/DMC/NT/WCC makefiles and Makefile.directIvan Maidanski2018-12-231-0/+1
| | | | | | | | * BCC_MAKEFILE (defines): Add -D USE_MUNMAP. * NT_MAKEFILE (CFLAGS_DEFAULT): Likewise. * WCC_MAKEFILE [MSWIN32] (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * Makefile.direct (CFLAGS): Add -D USE_MMAP -D USE_MUNMAP.
* Turn on gcj functionality in BCC, DMC, NT, OS/2, WCC makefilesIvan Maidanski2018-12-221-2/+2
| | | | | | | | | | | | | | | | * BCC_MAKEFILE (defines): Add -D GC_GCJ_SUPPORT. * Makefile.direct (CFLAGS): Likewise. * OS2_MAKEFILE (CFLAGS): Likewise. * WCC_MAKEFILE (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * BCC_MAKEFILE (XXXOBJS): Add XXXgcj_mlc.obj. * NT_MAKEFILE (CFLAGS_DEFAULT): New variable (value copied from .c.obj); add -D GC_GCJ_SUPPORT. * NT_MAKEFILE (OBJS): Add gcj_mlc.obj. * OS2_MAKEFILE (OBJS): Likewise. * WCC_MAKEFILE (OBJS): Likewise. * digimars.mak (OBJS): Likewise. * NT_MAKEFILE (.c.obj, .cpp.obj): Use CFLAGS_DEFAULT variable.
* Define GC_ATOMIC_UNCOLLECTABLE and JAVA_FINALIZATION in all make scriptsIvan Maidanski2018-12-191-1/+1
| | | | | | | | | | | | | | | | | | This matches the policy of configure and CMakeLists.txt. * BCC_MAKEFILE (defines): Add -D GC_ATOMIC_UNCOLLECTABLE. * NT_MAKEFILE (.cpp.obj): Likewise. * Makefile.direct (CFLAGS): Add -D JAVA_FINALIZATION; reorder options. * NT_MAKEFILE (.c.obj): Add -D GC_ATOMIC_UNCOLLECTABLE -D JAVA_FINALIZATION. * OS2_MAKEFILE (CFLAGS): Likewise. * WCC_MAKEFILE (DEFS): Likewise. * build/s60v3/libgc.mmp: Likewise. * digimars.mak (DEFINES): Likewise. * gc.mak [$CFG=="gc - Win32 Release" || $CFG=="gc - Win32 Debug"] (CPP_PROJ): Likewise. * NT_MAKEFILE (.cpp.obj): Remove redundant -I $(AO_INCLUDE_DIR) -D ALL_INTERIOR_POINTERS.
* Default to non-executable memory allocation across all make scriptsIvan Maidanski2018-12-191-1/+1
| | | | | | | | | | | | This matches the policy of Makefile.direct, configure and CMakeLists.txt. * BCC_MAKEFILE (defines): Add -D NO_EXECUTE_PERMISSION. * NT_MAKEFILE (.c.obj): Likewise. * OS2_MAKEFILE (CFLAGS): Likewise. * WCC_MAKEFILE (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * gc.mak [$CFG=="gc - Win32 Release" || $CFG=="gc - Win32 Debug"] (CPP_PROJ): Likewise.
* Fix compilation by WCC makefileIvan Maidanski2018-05-311-9/+8
| | | | | | | | * WCC_MAKEFILE (CFLAGS, CXXFLAGS): Add -iinclude. * WCC_MAKEFILE (CXXFLAGS, TEST_CXXFLAGS): Add -xs. * WCC_MAKEFILE (gc_cpp.obj, test_cpp.obj): Remove -iinclude. * WCC_MAKEFILE (test.obj): Pass tests\test.c instead of $*.c. * WCC_MAKEFILE (test_cpp.obj): Pass tests\test_cpp.cc instead of $*.cc.
* Remove stubborn.c fileIvan Maidanski2018-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (code refactoring) * BCC_MAKEFILE (XXXOBJS): Remove XXXstubborn.obj entry. * CMakeLists.txt (SRC): Remove stubborn.c entry. * Makefile.am (libgc_la_SOURCES): Likewise. * Makefile.direct (CSRCS): Likewise. * PCR-Makefile (CSRC): Likewise. * build/s60v3/libgc.mmp (SOURCE): Likewise. * doc/README.Mac (Files to build the GC libraries): Likewise. * Makefile.direct (OBJS): Remove stubborn.o entry. * PCR-Makefile (COBJ): Likewise. * SMakefile.amiga (OBJS): Likewise. * digimars.mak (OBJS): Likewise. * NT_MAKEFILE (OBJS): Remove stubborn.obj entry. * OS2_MAKEFILE (OBJS): Likewise. * WCC_MAKEFILE (OBJS): Likewise. * SMakefile.amiga (stubborn.o): Remove rule. * digimars.mak (stubborn.obj): Likewise. * extra/gc.c: Do not include stubborn.c. * gc.mak: Remove rules for stubborn.obj and stubborn.sbr. * mallocx.c [MANUAL_VDB] (GC_dirty): Move the function declaration from stubborn.c. * mallocx.c (GC_malloc_stubborn, GC_change_stubborn, GC_end_stubborn_change): Move the function implementation from stubborn.c. * stubborn.c: Delete file.
* Remove API symbols renaming in WCC_MAKEFILEIvan Maidanski2018-02-281-30/+1
| | | | | | | | | | | | | | | | | GC_is_marked, GC_incr_bytes_allocd, GC_incr_bytes_freed are now declared as GC_API, the so symbols renaming by the linker is not needed. GC_generic_malloc_words_small does not exist anymore. * WCC_MAKEFILE [MAKE_AS_DLL] (gc.dll): Remove "append $*.lnk export" for GC_is_marked, GC_incr_bytes_allocd, GC_incr_bytes_freed, GC_generic_malloc_words_small. * WCC_MAKEFILE (gc.lib): Adjust indentation. * WCC_MAKEFILE [MAKE_AS_DLL] (gctest.exe): Remove "append $*.lnk import" for GC_is_marked. * WCC_MAKEFILE [MAKE_AS_DLL] (test_cpp.exe): Remove "append $*.lnk import" for GC_incr_bytes_allocd, GC_incr_bytes_freed, GC_generic_malloc_words_small.
* Remove unused USE_GENERIC macro definition and descriptionIvan Maidanski2017-04-221-2/+1
| | | | | | | | | | | (code refactoring) * BCC_MAKEFILE: Remove comment about USE_GENERIC macro. * WCC_MAKEFILE: Likewise. * BCC_MAKEFILE (defines): Remove -DUSE_GENERIC. * WCC_MAKEFILE (CFLAGS): Likewise. * doc/README.win32 (Borland Tools): Remove information about -DUSE_GENERIC and assembler.
* Enable alternative finalization interface (DISCLAIM) in all makefilesIvan Maidanski2017-04-221-1/+1
| | | | | | | | | | | | * BCC_MAKEFILE (defines): Add -DENABLE_DISCLAIM. * Makefile.direct (CFLAGS): Likewise. * NT_MAKEFILE (.c.obj): Likewise. * OS2_MAKEFILE (CFLAGS): Likewise. * PCR-Makefile (CFLAGS): Likewise. * WCC_MAKEFILE (DEFS): Likewise. * digimars.mak (DEFINES): Likewise. * gc.mak (CPP_PROJ): Likewise. * build/s60v3/libgc.mmp (ENABLE_DISCLAIM): Uncomment macro.
* Fix various typos in comments and printed messagesKlemens Zwischenbrugger2017-02-211-1/+1
| | | | | | | | | | | | | | | | This patch contains some spelling fixes (just in comments and C strings passed to printf) as found by bot (https://github.com/ka7/misspell_fixer). * SMakefile.amiga: Fix typo in comment ("don't"). * WCC_MAKEFILE (SYSTEM): Fix typo in comment ("uncomment"). * configure.ac [!GCC] (gc_cflags): Fix typo in comment ("actually"). * configure.ac (NO_CLOCK): Fix typo in comment ("targeting"). * doc/README.amiga: Fix typos in documentation ("there's", "compliant", "documentation"). * extra/AmigaOS.c [GC_AMIGA_PRINTSTATS] (GC_amiga_free_all_mem): Fix typos in printed messages ("succeeded", "succeeding"). * include/gc.h (GC_get_heap_size): Fix typo in comment ("below"). * tools/setjmp_t.c (main): Fix typo in printed message ("won't").
* Remove GC_BUILD definition from build scriptsIvan Maidanski2013-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * CMakeLists.txt (ADD_DEFINITIONS): Remove -D GC_BUILD (not needed since it is defined in gc_priv.h, gc_pmark.h and gc_cpp.cc). * WCC_MAKEFILE (CFLAGS): Likewise. * build/s60v3/libgc.mmp: Likewise. * digimars.mak (DEFINES, tests/test.obj): Likewise. * windows-untested/vc60/gc.dsp (ADD CPP): Likewise. * windows-untested/vc60/libgc.dsp (ADD CPP): Likewise. * windows-untested/vc60/libgcmt.dsp (ADD CPP): Likewise. * windows-untested/vc70/gc.vcproj (PreprocessorDefinitions): Likewise. * windows-untested/vc70/libgc.vcproj (PreprocessorDefinitions): Likewise. * windows-untested/vc70/libgcmt.vcproj (PreprocessorDefinitions): Likewise. * windows-untested/vc71/gc.vcproj (PreprocessorDefinitions): Likewise. * windows-untested/vc71/libgc.vcproj (PreprocessorDefinitions): Likewise. * windows-untested/vc71/libgcmt.vcproj (PreprocessorDefinitions): Likewise. * extra/MacOS.c: Define GC_BUILD (before include of gc.h). * extra/msvc_dbg.c: Likewise. * windows-untested/vc60/gc.dsp (MESSAGE, ENDIF): Remove trailing spaces at EOLn. * windows-untested/vc60/libgc.dsp (MESSAGE, ENDIF): Likewise. * windows-untested/vc60/libgcmt.dsp (MESSAGE, ENDIF): Likewise.
* Rename (shorten name of) finalized_mlc.c to fnlz_mlc.c fileIvan Maidanski2011-11-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * finalized_mlc.c: Rename to fnlz_mlc.c file. * BCC_MAKEFILE (XXXOBJS): Rename "finalized_mlc" to "fnlz_mlc". * EMX_MAKEFILE (OBJS): Likewise. * Makefile.am (libgc_la_SOURCES): Likewise. * Makefile.direct (OBJS, CSRCS): Likewise. * Makefile.dj (OBJS, CSRCS): Likewise. * NT_MAKEFILE (OBJS): Likewise. * NT_STATIC_THREADS_MAKEFILE (OBJS): Likewise. * NT_X64_STATIC_THREADS_MAKEFILE (OBJS): Likewise. * NT_X64_THREADS_MAKEFILE (OBJS): Likewise. * OS2_MAKEFILE (OBJS): Likewise. * PCR-Makefile (COBJ, CSRC): Likewise. * SMakefile.amiga (OBJS, finalized_mlc.o): Likewise. * WCC_MAKEFILE (OBJS): Likewise. * digimars.mak (OBJS, finalized_mlc.o): Likewise. * extra/gc.c: Likewise. * gc.mak: Likewise. * thread_local_alloc.c: Likewise. * windows-untested/vc60/gc.dsp (SOURCE): Likewise. * windows-untested/vc60/libgc.dsp (SOURCE): Likewise. * windows-untested/vc70/gc.vcproj: Likewise. * windows-untested/vc70/libgc.vcproj: Likewise. * windows-untested/vc70/libgcmt.vcproj: Likewise. * windows-untested/vc71/gc.vcproj: Likewise. * windows-untested/vc71/libgc.vcproj: Likewise. * windows-untested/vc71/libgcmt.vcproj: Likewise.
* Add finalized_mlc.* to various makefiles.Petter Urkedal2011-09-301-1/+2
|
* gc7.0alpha1 tarball importgc7_0alpha1Ivan Maidanski2011-07-261-9/+9
|
* gc6.0 tarball importgc6_0Ivan Maidanski2011-07-261-2/+2
|
* gc4.13 tarball importgc4_13Ivan Maidanski2011-07-261-53/+126
|
* gc4.12 tarball importgc4_12Ivan Maidanski2011-07-261-0/+123