diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-04-22 17:24:05 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-04-22 17:25:29 +0300 |
commit | 9ecc54bd2b5f1c7111c13bbe824e892e7d3d0e03 (patch) | |
tree | a4c2fb07abac5342ac30de307700ef3c81b5bda3 | |
parent | 1e98fcd1d14c270a8dee56345923742e748c7c51 (diff) | |
download | bdwgc-9ecc54bd2b5f1c7111c13bbe824e892e7d3d0e03.tar.gz |
Remove unused USE_GENERIC macro definition and description
(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.
-rw-r--r-- | BCC_MAKEFILE | 3 | ||||
-rw-r--r-- | WCC_MAKEFILE | 3 | ||||
-rw-r--r-- | doc/README.win32 | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/BCC_MAKEFILE b/BCC_MAKEFILE index 03db5ecd..777e01f0 100644 --- a/BCC_MAKEFILE +++ b/BCC_MAKEFILE @@ -1,5 +1,4 @@ # Makefile for Borland C++ 5.5 on NT
-# If you have the Borland assembler, remove "-DUSE_GENERIC"
#
bc= c:\Borland\BCC55
bcbin= $(bc)\bin
@@ -15,7 +14,7 @@ lib= $(bcbin)\tlib link= $(bcbin)\ilink32
cflags= -O2 -R -v- -vi -H -H=gc.csm -I$(bcinclude);$(gcinclude1);$(gcinclude2) -L$(bclib) \
-w-pro -w-aus -w-par -w-ccc -w-rch -a4
-defines= -DALL_INTERIOR_POINTERS -DUSE_GENERIC -DNO_GETENV -DJAVA_FINALIZATION -DENABLE_DISCLAIM -DGC_OPERATOR_NEW_ARRAY
+defines= -DALL_INTERIOR_POINTERS -DNO_GETENV -DJAVA_FINALIZATION -DENABLE_DISCLAIM -DGC_OPERATOR_NEW_ARRAY
.c.obj:
$(cc) @&&|
diff --git a/WCC_MAKEFILE b/WCC_MAKEFILE index 89c6f839..bae89d68 100644 --- a/WCC_MAKEFILE +++ b/WCC_MAKEFILE @@ -66,8 +66,7 @@ TEST_DLLFLAG= CC=wcc386 CXX=wpp386 -# -DUSE_GENERIC is required ! -CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(DLLFLAG) -DUSE_GENERIC $(DEFS) +CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(DLLFLAG) $(DEFS) CXXFLAGS= $(CFLAGS) TEST_CFLAGS=-$(CPU)$(CALLING) $(OPTIM) -zp4 -zc $(SYSFLAG) $(TEST_DLLFLAG) $(DEFS) TEST_CXXFLAGS= $(TEST_CFLAGS) diff --git a/doc/README.win32 b/doc/README.win32 index 0a32c204..fae4b5cf 100644 --- a/doc/README.win32 +++ b/doc/README.win32 @@ -94,9 +94,7 @@ I expect that -a1 introduces major performance penalties on a resort, gcconfig.h can be changed to allow 1 byte alignment. But this has significant negative performance implications.) The Makefile is set up to assume Borland 4.5. If you have another -version, change the line near the top. By default, it does not -require the assembler. If you do have the assembler, I recommend -removing the -DUSE_GENERIC. +version, change the line near the top. Digital Mars compiler --------------------- |