This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New user question


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
> to
> build the tests.  Specifically:
> 
> gcc -g -nostdlib -Wl,-static -Wl,--fatal-warnings 
> -L/home/ar63/ecos/work/linuxsynth_install/lib -Ttarget.ld 
> -o
> /home/ar63/ecos/work/linuxsynth_install/tests/infra/v2_0/tests/cxxsupp
> tests/cxxsupp.o
> make[1]: Leaving directory
> `/home/ar63/ecos/work/linuxsynth_build/infra/v2_0'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libsupc++.a(new_op.o)(.text._Zn
> 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.

         Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]