diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-23 13:46:03 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-23 13:46:03 +0000 |
| commit | 96e30403496cffcd72ac6a2d51d06f7b65e8b6ff (patch) | |
| tree | 5f2829539a39aefb3b6df0c1f15d34655ade9233 /bcc32/setup.mak | |
| parent | 510933714bcef2b05da97318dab910b9a12f217e (diff) | |
| download | ruby-96e30403496cffcd72ac6a2d51d06f7b65e8b6ff.tar.gz ruby-96e30403496cffcd72ac6a2d51d06f7b65e8b6ff.tar.xz ruby-96e30403496cffcd72ac6a2d51d06f7b65e8b6ff.zip | |
* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
memory manager cannot handle large memory block properly.
ex: 10000.times { "" << "." * 529671; GC.start } # crash
[ruby-dev:28230]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32/setup.mak')
| -rw-r--r-- | bcc32/setup.mak | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bcc32/setup.mak b/bcc32/setup.mak index dac52bf92..8f73b4f9f 100644 --- a/bcc32/setup.mak +++ b/bcc32/setup.mak @@ -54,6 +54,14 @@ EXTOUT = $(EXTOUT) $(BANG)endif !endif | + @type > usebormm.bat &&| +@echo off +ilink32 -Gn -x usebormm.lib > nul +if exist usebormm.tds echo MEMLIB = usebormm.lib +| + @usebormm.bat >> $(MAKEFILE) + @del usebormm.* + @cpp32 -I$(srcdir) -P- -DRUBY_EXTERN="//" -o$(MAKEFILE) > nul &&| \#include "version.h" MAJOR = RUBY_VERSION_MAJOR |
