public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: "Richardson, Anthony" <ar63@evansville.edu>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] New user question
Date: Fri, 07 Nov 2003 12:38:00 -0000	[thread overview]
Message-ID: <20031107123519.GB25725@lunn.ch> (raw)
In-Reply-To: <FBAA835302BB614E9D5B54EBEA335DCB399BC6@uemail02.evansville.edu>

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

  reply	other threads:[~2003-11-07 12:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 12:22 Richardson, Anthony
2003-11-07 12:38 ` Andrew Lunn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-12-21 18:36 [ECOS] New User Question Peter Smith
2010-12-21 19:56 ` Sergei Gavrikov
2010-12-22 20:12   ` Peter Smith
2003-11-06 15:32 [ECOS] New user question Richardson, Anthony
2003-11-06 16:43 ` Andrew Lunn
2003-11-05 13:53 Richardson, Anthony
2003-11-05 14:06 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031107123519.GB25725@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ar63@evansville.edu \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).