[ECOS] New user question
Fri Nov 7 12:38:00 GMT 2003
On Fri, Nov 07, 2003 at 06:22:35AM -0600, Richardson, Anthony wrote:
> Andrew Lunn wrote:
> > On Wed, Nov 05, 2003 at 07:53:11AM -0600, Richardson, Anthony wrote:
> > > The problem is that I don't seem to have the "target sim" available
> > > in gdb:
> > The sim target is only available for a few processor types. i386 is
> > not one of them.
> > Look at the appendix in
> > http://ecos.sourceware.org/docs-latest/user-guide/ecos-user-guide.html
> > It lists a number of architecture simulators. Or consider using linux
> > sythn target,
> I was able to build the linux synth target, but get an error when I try
> build the tests. Specifically:
> gcc -g -nostdlib -Wl,-static -Wl,--fatal-warnings
> -L/home/ar63/ecos/work/linuxsynth_install/lib -Ttarget.ld
> make: Leaving directory
> wj+0xb7): In function `operator new(unsigned)':
> make: Leaving directory `/home/ar63/ecos/work/linuxsynth_build'
> : undefined reference to `_Unwind_Resume'
> Any suggestions?
This is kind of normal. It is to do with exception handling, which is
specific to the version of gcc being used. The native gcc is being
used for synth and there are many different versions out there. It is
not possible to make this work for all tools.
Its not a major problem unless you want to do what the test program is
testing, which is unlikely.
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