This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: link error due to unwanted exception support
- From: Will Wagner <will_wagner at carallon dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 16 May 2005 12:27:08 +0100
- Subject: Re: [ECOS] link error due to unwanted exception support
- References: <4284E6CE.8030303@carallon.com> <1116006255.31049.126.camel@hermes>
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?
Many thnaks,
Will Wagner
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss