| | realloc in legos(brickOS)
|
|
can someone please help this guy? ive been out of the loop for some time and really dont know if anyone has made any realloc functions for legos (working in 0.2.6). below is the email he sent me. his email address is: renespanw@hotmail.com regards (...) (21 years ago, 23-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)
|
|
| | 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: OS X Complier problems solved--now struggling with BrickOS
|
|
(...) The only time(s) I encountered this type of issue were when I compiled the .srec with different set of compiler settings (or with a different set of header files) than what was used for compiling the Demo/Application code. For instance, if I (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: OS X Complier problems solved--now struggling with BrickOS
|
|
(...) As for this one, I thought I linked the library statically so you wouldn't require it. Oh well, I'll fix that and let people know when I've updated it. You shouldn't need to install the libraries to use the tools. Michael (Zapp not van der (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
|