[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DrScheme/MzScheme (Glibc 2.1.3)



Quoting Brent Fulgham:
> I built MzScheme with the mzschemelib++ option,
> which apparently doesn't work quite right under
> Linux.

The problem is that mzschemelib++ doesn't provide -DOPERATOR_NEW_ARRAY
when it's needed.

It's unlikely that mzschemelib++ is actually more useful to anyone than
mzschemelib. The C++ support in mzschemelib++ became so MrEd-specific
that, for version 102, it's been removed from plt/src/mzscheme/gc into
a new directory, compiled by MrEd's makefile.

The original gc_cpp.cc (distributed with the Boehm collector) is
restored in plt/src/mzscheme/gc for version 102. But most programmers
embedding MzScheme into a C++ application probably don't want it, since
it replaces the built-in `new' and `delete' operations. I've already
removed the mzschemelib++ makefile target in 102, but I can restore it
(with -DOPERATOR_NEW_ARRAY when needed) if anyone thinks it's
worthwhile.

Matthew