[C++-sig] embedding.cpp with gcc 2.95
kasper at 303.nu
kasper at 303.nu
Mon Dec 16 19:27:04 CET 2002
> > I've tried to compile embedding.cpp, but it doesn't work. It seems to be
> > a problem with gcc 2.95. And since I'm using Debian I'm kinda stuck with
> > 2.95 for the moment.
>
> You can use 3.x on Debian.
Yes, I tried using g++-3.2 instead of g++, but then I get a lot more errors.
Because all the C++ libraries should be recompiled with 3.2 as well. So that
would mean recompiling a lot of stuff, I guess.
> > I get errors during linking,
>
> What errors?
undefined references to handle_exception_impl, function_object,
register_dynamic_id_aux and get_class_object.
> How are you attempting to build the example? If you're not using
> bjam, does it work when you do use bjam?
I prefer to use make-stuff. But using bjam gives me the same errors.
> I don't think that patching out important functionality with stubs is
> generally a good approach ;-)
I can agree with that :)
bye,
Kasper
More information about the Cplusplus-sig
mailing list