[plt-scheme] Problem with mzc
You need to link with the standard c++ libraries. Just add -lstdc++ to the command line, or compile with g++ instead of gcc. The difference is because you changed the file name extension to cpp instead of c.
--Justin Lee
-----Original Message-----
From: jblazi [mailto:jblazi at gmx.de]
Sent: Monday, December 02, 2002 9:14 AM
To: plt-scheme at list.cs.brown.edu
Subject: [plt-scheme] Problem with mzc
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-scheme
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).
TIA,
--
Janos Blazi