[ECOS] __impure_ptr again

Philippe Simons loki_666@fastmail.fm
Mon Jan 16 13:17:00 GMT 2006


Hi, i'm currently trying to port eCos HAL for the GP2X (ARM/MMSP2), and
i think i'm close to it.
Now when i try to link tests, i get this unresolved errors for
__impure_ptr.
I'm using ecos cvs, with latest gnu tools (gcc4.0.2,newlib-1.14.0 and
binutils-2.16.1)

Adding impure.c from newlib/libc/reent to my HAL src files did the
trick, but I'm not sure if it's the right way to go.
I saw in the infra packages the dummy implementation of
__cxa_pure_virtual(), but obviously it isn't used, since the error lies
in libcsupp++.
Still __cxa_pure_virtual() is in my libtarget.a

What's the current situation of this issue.

TIA

Philippe Simons

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again


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



More information about the Ecos-discuss mailing list