[ECOS] Re: Pure trick for _inpure_ptr and modern toolchains

Daniel Néri daniel.neri@sigicom.se
Fri Oct 19 07:20:00 GMT 2007


Sergei Gavrikov <w3sg@SoftHome.net> writes:

> Lasat days I built a few a bit modern toolchains for eCos and played
> with them. The stuff was binutils-1.16, newlib-1.14, gcc-*-3.4.4.

Hmm, modern? All of those were released in 2005.

> And I found that for such test builds you can easy resolve the
> '_impure_ptr issue' in a bloodless manner just using the <target>-ar.
> Well, I had disliked to mess up the toolchain or eCos sources to keep
> the peace.

I'm currently using GCC 4.2.1 (arm-elf target), built with headers from
newlib 1.15.0.

I avoid the _impure_ptr dependency by passing --disable-hosted-libstdcxx
to the GCC configure script.


Regards,
-- 
Daniel Néri <daniel.neri@sigicom.se>
Sigicom AB, Stockholm, Sweden


-- 
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