Fri May 30 07:20:00 GMT 2003
At Fri, 30 May 2003 11:50:00 +1000,
Ian Burns wrote:
> You may be having the same problem I encountered on the H8300. I'm new
> to eCos, so I can't say whether this will work for your architecture,
> but it worked for me. I removed the requirement for libsupc++ from the
> linker file (see details below), and eCos built fine after that. Here's
> a summary of some of the suggestions I received:
> Nick Garnett's suggestions were:
> > The main problem is that by default GCC does not build any of the C++
> > libraries for the H8300H. We are not sure whether this is a mere
> > oversight, or an explicit decision based on some information we don't
> > have.
> > You could try editing the GCC config scripts to re-enable C++
> > support. Or edit the h8300_h8300h.ld file and remove the reference to
> > libsupc++ in the GROUP() line. The latter is probably easiest.
> Yoshinori Sato suggested patching gcc to generate libsupc++:
> > can avoid a problem of gcc with this patch.
> > 3.2.x http://downloads.sourceforge.jp/ecos-h8/1630/gcc.diff
> > 3.3 http://downloads.sourceforge.jp/ecos-h8/4216/gcc-3.3.diff.gz
> > However, a problem of double does not inspect it fully.
A problem of libsupc++ is not corrected even if I use this patch.
It is a patch to match size of variable with other architecture.
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss