This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC3.2/eCos-- undefined reference to std::operatornew(unsigned)


On Wed, 2002-09-11 at 04:01, Jurica Baricevic wrote:
> Hello.
> 
> I am using GCC3.2/newlib1.10.0/binutils2.13 to compile eCos for a MIPS R3000
> target.
  <snip>
> (...cut...)
> undefined reference to `std::set_new_handler(void (*)())'
> undefined reference to `std::operator new(unsigned)'
> (...cut...)
> 
> The same code links fine with GCC2.95.2.
> Any idea on how I could fix this?

Stick with GCC/2.95.2 (or most probably, anything less than 3.0)
We simply aren't ready to use GCC/3.x with eCos yet, sorry.

Is there some reason you want to use this new compiler?

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]