From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1188 invoked by alias); 16 May 2005 12:26:19 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 1049 invoked from network); 16 May 2005 12:26:09 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (206.168.96.204) by sourceware.org with SMTP; 16 May 2005 12:26:09 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 7DC54100086; Mon, 16 May 2005 06:26:06 -0600 (MDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 33406100031; Mon, 16 May 2005 06:26:04 -0600 (MDT) From: Gary Thomas To: Will Wagner Cc: eCos Discussion In-Reply-To: <4288838C.8090001@carallon.com> References: <4284E6CE.8030303@carallon.com> <1116006255.31049.126.camel@hermes> <4288838C.8090001@carallon.com> Content-Type: text/plain Date: Mon, 16 May 2005 19:42:00 -0000 Message-Id: <1116246363.22383.12.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] link error due to unwanted exception support X-SW-Source: 2005-05/txt/msg00213.txt.bz2 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