From: Gary Thomas <gary@mlbassoc.com>
To: Will Wagner <will_wagner@carallon.com>
Cc: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] link error due to unwanted exception support
Date: Mon, 16 May 2005 19:42:00 -0000 [thread overview]
Message-ID: <1116246363.22383.12.camel@hermes> (raw)
In-Reply-To: <4288838C.8090001@carallon.com>
On Mon, 2005-05-16 at 12:27 +0100, Will Wagner wrote:
> >
> > What options did you use to compile your program?
> >
> > Look in the examples directory for how to do this. You can also
> > follow the instructions at
> > http://www.mlbassoc.com/examples/
> >
> >
>
> Thanks for the help.
>
> My options are:
> CXXFLAGS = -msoft-float -mcpu=860 -ffunction-sections -fdata-sections
> -finit-priority -fvtable-gc -fno-exceptions -Wall -W -Wpointer-arith
> -Wstrict-prototypes -Winline -Wno-deprecated -Woverloaded-virtual -g
> LFLAGS = -msoft-float -mcpu=860 -nostdlib -Wl,--gc-sections
> -Wl,-static -Ttarget.ld -L../ecos_kernel/minimal/install/lib -g
>
> I have fixed my problem by working round the bit of rtti code I was
> using. I had been hoping to use rtti but not use exceptions but that
> doesn't seem to be possible. Should it be?
I don't think so. I'm pretty sure that RTTI support requires some
architecture+OS specific help which we don't provide. We have certainly
used -fno-rtti in the kernel since Day 1, so I doubt that you'll have
much luck with it.
n.b. I'm not a C++ guru, so may answer may be inaccurate (as well as
biased against such things)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
prev parent reply other threads:[~2005-05-16 12:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 19:05 Will Wagner
2005-05-13 19:33 ` Gary Thomas
2005-05-16 12:41 ` Will Wagner
2005-05-16 19:42 ` Gary Thomas [this message]
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=1116246363.22383.12.camel@hermes \
--to=gary@mlbassoc.com \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=will_wagner@carallon.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).