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 | b122590f5a273333c9b2ccb7b5342d7d6f15e48b (patch) | |
tree | 5f2829539a39aefb3b6df0c1f15d34655ade9233 /bcc32/setup.mak | |
parent | 5373331d039f69df297598b073d6075d1a939e37 (diff) | |
download | ruby-b122590f5a273333c9b2ccb7b5342d7d6f15e48b.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/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 dac52bf92b..8f73b4f9f7 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 |