On Mon, 14 Apr 2008 00:43:31 -0700 (PDT), James Kanze
<james.kanze@gmail.com> wrote:
All I can say is that there are a number of users (myself
included) who find the investment worthwhile enough to do it
ourselves. It took me less than a day to get the Boehm
collector up and running with g++ under Linux, and I don't have
access to all of the inside knowledge of the implementors. And
10%, over the life of a project, is a lot more than one man-day,
even for a single project. 10% gain for 90% of the C++ projects
almost certainly adds up to man-years.
Doesn't look that simple to me. I downloaded gc version 6.7 and 6.8.
nmake nodebug=1 gc.mak
makefile(389) : fatal error U1001: syntax error : illegal character
'{' in macro
I then downloaded 7.0 and by using the exact same command as posted
above (no change), it built fine. What a weird error.
Then I added the header file
#include "gc_cpp.h"
Changed the "new" to
Tree *t = new (GCNew) Tree;
cl /O2 -I"\gc-7.0\include" new.cpp "\gc-7.0\Release\gc.lib"
Compiled fine but when I ran the new.exe,
"This application has failed to start because MSVCR90.dll was not
found"
I found the file and put it in the same directory. Next error: An
application has made an error to load the C runtime library
incorrectly."
What the heck.