Board index » cppbuilder » Rebuilding the RTL

Rebuilding the RTL


2007-03-07 03:32:34 AM
cppbuilder17
Hi,
I am trying to rebuild the RTL (in BCB6 at the moment). I've built the RTL
for Borland C++ before, but never for BCB.
It is failing in the "C++Builder combined (Standard/VCL) MT RTL dynamic
library" section, complaining that it can't find memmgr.lib. When building
the RTL, is memmgr.lib supposed to get built too? If not, what is the
appropriate fix? Can I simply copy memmgr.lib to someplace where the build
can find it? What would that location be?
- Dennis
 
 

Re:Rebuilding the RTL

"Dennis Jones" < XXXX@XXXXX.COM >wrote in message
Quote
Hi,

I am trying to rebuild the RTL (in BCB6 at the moment). I've built the
RTL for Borland C++ before, but never for BCB.

It is failing in the "C++Builder combined (Standard/VCL) MT RTL dynamic
library" section, complaining that it can't find memmgr.lib. When
building the RTL, is memmgr.lib supposed to get built too? If not, what
is the appropriate fix? Can I simply copy memmgr.lib to someplace where
the build can find it? What would that location be?
Follow-up...
As an experiment, I copied memmgr.lib from cbuilder\lib to
cbuilder\source\rtl\lib, after which the RTL seems to have built
successfully. And apparently, memmgr.lib is not built as part of the RTL
build process.
Can someone confirm that this is indeed the case and that I have done the
right thing?
- Dennis
 

Re:Rebuilding the RTL

"Dennis Jones" < XXXX@XXXXX.COM >writes:
Quote
"Dennis Jones" < XXXX@XXXXX.COM >wrote in message
Follow-up...

As an experiment, I copied memmgr.lib from cbuilder\lib to
cbuilder\source\rtl\lib, after which the RTL seems to have built
successfully. And apparently, memmgr.lib is not built as part of the RTL
build process.

Can someone confirm that this is indeed the case and that I have done the
right thing?
Right, it's not part of the RTL build. I'm not looking the the BCB6
sources atm, but I believe it was looking in the external subdirectory
of the RTL sources.
Regards,
Lee
 

{smallsort}

Re:Rebuilding the RTL

"Lee Cantey" < XXXX@XXXXX.COM >wrote in message
Quote
>"Dennis Jones" < XXXX@XXXXX.COM >wrote in message
>Follow-up...
>
>As an experiment, I copied memmgr.lib from cbuilder\lib to
>cbuilder\source\rtl\lib, after which the RTL seems to have built
>successfully. And apparently, memmgr.lib is not built as part of the RTL
>build process.
>
>Can someone confirm that this is indeed the case and that I have done the
>right thing?

Right, it's not part of the RTL build. I'm not looking the the BCB6
sources atm, but I believe it was looking in the external subdirectory
of the RTL sources.
Thanks Lee.
Placing a copy of memmgr.lib in the "Source\Rtl\External" folder does indeed
work (and it's cleaner than polluting the "Source\lib" folder). I've
successfully rebuilt the RTL for BCB5, BCB6 and BDS (though I have yet to
test the result).
- Dennis
 

Re:Rebuilding the RTL

Dennis Jones wrote:
Quote
Hi,

I am trying to rebuild the RTL (in BCB6 at the moment). I've built the RTL
for Borland C++ before, but never for BCB.

It is failing in the "C++Builder combined (Standard/VCL) MT RTL dynamic
library" section, complaining that it can't find memmgr.lib. When building
the RTL, is memmgr.lib supposed to get built too? If not, what is the
appropriate fix? Can I simply copy memmgr.lib to someplace where the build
can find it? What would that location be?

- Dennis



dn.codegear.com/article/29793
BUILDING THE RTL

If you are building the RTL under Windows 98 and encounter the
error "Unable to open file MEMMGR.LIB" copy the file ilink32.cfg
from the $(BCB)\bin directory to the $(BCB)\source\rtl\lib directory.
I found this when I got the same error building rtl under win xp. Copied
the file over and fixed my problem. Not sure why it works.
Neil