This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Help with linux synthetic target, please.
- From: Gordon Scott <g dot ecos dot a at gscott dot co dot uk>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 11 Mar 2004 10:10:28 +0000 (GMT)
- Subject: Re: [ECOS] Help with linux synthetic target, please.
On Tue, 9 Mar 2004, Gordon Scott wrote:
> Now get undefined operator 'new' in cxxsupp.cxx -- still exploring why.
After much messing about with reloaded gcc and binutils and a multitude
of experiments, this seems to be initially beause gcc does not link the
libstdc++ library by default for c++ files. The compiler has to be
called as g++ for this to work. Seems odd to me, but there you go.
However, the problem remains.
Taking the -nostdlib out of the LDFLAGS line fixes that, but probably
not surprisingly gives an error:
multiple definition of '_start'
(might be two underscores in that)
Is this all new problem stuff with gcc 3.3.x(?) or am I going over old
ground here? What else need I do to get this synth version up and
running, please?
Thanks,
Gordon.
--
Gordon Scott http://www.gscott.co.uk
Linux ... Because I like to *get* there today.
Hey, I'm looking for a new job! See -> http://www.gscott.co.uk
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss