This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: eCos uSTL 1.3 port for review
On Fri, Aug 07, 2009 at 07:53:54AM +0200, cetoni GmbH - Uwe Kindler wrote:
> Hi Sergei,
>
> > Uwe, now all works fine on synthetic with that vsnprintf.cxx.patch (your
> > C99 snprintf runs successfully on synthetic). My minor tweaks were (see
> > an attachement) to manage uSTL tests on synthetic.
> >
> > What do you think about -D__ECOS__=1 in pkg ADD_FLAGS instead those #if
> > 0?
>
> thank you very much for both patches. I think adding -D__ECOS__ would be
> the solution.
>
> Could you please build uSTL package + tests for synthetic target without
> filestreams support (CYGCLS_USTL_FSTREAMS diables) and without the File
> I/O package.
Hi Uwe,
First, when I reject fileio package, I cannot build eCos using ustl
template for linux synthetic target at all. The reason is
error: cyg/fileio/limits.h: No such file or directory
If I just disable CYGCLS_USTL_FSTREAMS option, and do not use ustl
template, but, add ustl package for default template, I can build eCos.
But, unfortunately, ustl tests leave eCos test farm they depend on
CYGVAR_USTL_CIN_COUT_CERR != 0, but that is 0 (cause is disabling
CYGCLS_USTL_FSTREAMS).
> Building test with arm-eabi toolchain fails for this configuration
> because of this problem
> (http://ecos.sourceware.org/ml/ecos-devel/2009-08/msg00000.html). Can
> you reproduce this with i386 toolchain?
Infra tests build/run itself with optimization -O2, but, without
optimization (-O0) build fails: __cxa_pure_virtual issue.
When I remove ustl package and build infra tests without optimization,
the issue leave the box. Well, I confirm the issue with i386-elf
toolchain from eCosCentric on synthetic target too.
HIH.
Regards,
Sergei