From 5ced09a22a19e0a03f41e7923f533d828f812be3 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 23 Feb 2006 13:46:03 +0000 Subject: * 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/branches/ruby_1_8@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/setup.mak | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bcc32/setup.mak') diff --git a/bcc32/setup.mak b/bcc32/setup.mak index d6120d10cb..1c922c208f 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) -DRUBY_EXTERN="//" -P- -o$(MAKEFILE) > nul &&| \#include "version.h" MAJOR = RUBY_VERSION_MAJOR -- cgit v1.2.3