[plt-scheme] Problem with mzc
On Monday 02 December 2002 22:11, Matthew Flatt wrote:
> At Mon, 2 Dec 2002 16:14:24 +0100, jblazi wrote:
> > I have started playing with plt mzscheme. I should like to extend
> > mzscheme (and later mred) with a C++ file that uses a C++ library.
> > Now when I compile and link the first "hello world" program from "Inside
> > MzScheme" it is compiled but not linked as __gc_personality_v0 is
> > missing.
> >
> > I called the file hw.cpp instead of hw.c.
> >
> > I have had this error before and it is a C++ problem. What can I do? I
> > use Cygwin (and gcc3.2).
>
> Does adding
>
> --linker g++
>
> to your mzc command line fix the problem? (You might need to supply
> a path for g++; I don't remember.)
Thx for you suggestion.
I have tried to do this (actually I have tried many combinations of this) but
it does not seem to work. Of course there are combinations of the keywords I
did not try...
Additionally, in the manuals I found the remark that doing things with mzc was
typically easier than using gcc directly but...
--
Janos Blazi