This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GCC3.2/eCos-- undefined reference to std::operatornew(unsigned)
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Jurica Baricevic <jura at INTESIS dot hr>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 11 Sep 2002 06:03:27 -0600
- Subject: Re: [ECOS] GCC3.2/eCos-- undefined reference to std::operatornew(unsigned)
- References: <NFBBJGOLDDDGJPLCMJKNGEBACHAA.jura@intesis.hr>
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