[ECOS] Help with linux synthetic target, please.

Gordon Scott g.ecos.a@gscott.co.uk
Mon Mar 8 22:01:00 GMT 2004

Hi Bart, Andrew,

It seems I also had a 2.95.3 compiler on my system, which was being
called by configtool, Build->Library and Build-Tests. The new gcc is
/usr/local/bingcc and the old one /usr/bin/gcc. That older one is now
obscured and I'm fairly sure I'm running the newer one (I can't
presently work out where in what makefile to put a -v ).

Anyway, Library builds with the addition below, unfortunately, Tests
still fails to build

On Mon, 8 Mar 2004, Bart Veer wrote:

> 3.3.2 needs different changes to synth_entry.c. At least the ones
> below, possibly more, I have not yet tried anything > 3.2.2 myself.
> ----------------------------------------------------------------------------
> #if (__GNUC__ >= 3)

Ho Hum,

here, 3.3.2 appears to need:

#if (__GNUC__ >= 3 $$ __GNUC_MINOR__ < 3 )


I'm still to explore the following, but this is the Tests build error
in case it means anything to you:

gcc -g -nostdlib -Wl,-static -Wl,--fatal-warnings -L/Toolsets/eCos/ecos/build/ecos-work/synth_build/linux-synth_install/lib -Ttarget.ld -o /Toolsets/eCos/ecos/build/ecos-work/synth_build/linux-synth_install/tests/infra/v2_0/tests/cxxsupp tests/cxxsupp.o
make[1]: Leaving directory `/Toolsets/eCos/ecos/build/ecos-work/synth_build/linux-synth_build/infra/v2_0'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
make: Leaving directory `/Toolsets/eCos/ecos/build/ecos-work/synth_build/linux-synth_build'
/usr/bin/ld: Dwarf Error: Could not find abbrev number 353.

tests/cxxsupp.o: In function `cyg_start':
tests/cxxsupp.o(.text.cyg_start+0x9b): undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make[1]: *** [/Toolsets/eCos/ecos/build/ecos-work/synth_build/linux-synth_install/tests/infra/v2_0/tests/cxxsupp] Error 1
make: *** [tests] Error 2

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