| | Error linking c++ with gcc 3.3
|
| Hi, I'm having a slight problem building the c++ demos with gcc-3.3. (I had to do a tiny patch against a few files to overcome the fact that multiline strings are now not supported). But when it comes to building the c++ demos, I get the following (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
| | | | Re: Error linking c++ with gcc 3.3
|
| (...) You should add -fno-rtti -fno-exceptions to the CXXFLAGS in Makefile.common. To get rid of the operator new/delete errors you can replace lib/c++/stub.c with a stub.cpp containing the following. Don't forget to update the Makefile. This works (...) (21 years ago, 18-Jun-03, to lugnet.robotics.rcx.legos)
| | | | Re: Error linking c++ with gcc 3.3
|
| No, I'm sorry, it doesn't seem to quite work. But it does get rid of the 3 errors at the bottom - Now it's just the operator new/delete stuff. I replaced the stub.c with the thing below, made libc++.a, and just make in lib/c++, and then go to demo (...) (21 years ago, 19-Jun-03, to lugnet.robotics.rcx.legos)
| |