To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3317
3316  |  3318
Subject: 
Re: Error linking c++ with gcc 3.3
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 19 Jun 2003 05:03:25 GMT
Viewed: 
3379 times
  
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 and make c++.lx, and it fails building c++.ds1, one of it's
prerequisites.

Thanks so much for helping me out :)

Michael



Message is in Reply To:
  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)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR