[ECOS] Help with linux synthetic target, please.

Gordon Scott g.ecos.a@gscott.co.uk
Thu Mar 11 10:11:00 GMT 2004


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



More information about the Ecos-discuss mailing list