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: link error due to unwanted exception support




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


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