From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Stephen Williams Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Trouble running ecosconfig under Linux/alpha Date: Tue, 21 Nov 2000 17:39:00 -0000 Message-id: <3A1B23E0.40716A1@cygnus.co.uk> References: <200011212058.MAA23339@icarus.com> X-SW-Source: 2000-11/msg00279.html Stephen Williams wrote: > > Well, I got the sh-elf compiler tools compiled on my Linux/alpha machine, > and now I'm trying to work with eCos-1.3.1. I configured the tools > like so: > > /usr/local/src/ecos-1.3.1/tools/src/configure --with-tcl=/usr > > and I'm compiling with: > > icarus.com % rpm -q egcs > egcs-1.1.2-24 > icarus.com % rpm -q egcs-c++ > egcs-c++-1.1.2-24 > > (I'm running RedHat 6.2/alpha.) > > When it compiles libcdl, I get a *lot* of warnings about use of possibly > unused variables, but the compile completes. > > ecosconfig list > > works, but > > ecosconfig target sh7708 > > seg faults. > > Before I delve into a deep debugging session with this, are there any > obvious starting points? There have been several issues with exception handling in older compilers. If it was easy for you to try gcc 2.95.2, and an updated libstdc++, that would probably be no bad thing. Also you may want to use the version of the host sources in anonymous CVS; this change may help you: 2000-08-18 Bart Veer * base.cxx, build.cxx, cdl.hxx, cdlcore.hxx, component.cxx, config.cxx, database.cxx, dialog.cxx, expr.cxx, interface.cxx, interp.cxx, option.cxx, package.cxx, parse.cxx, value.cxx, wizard.cxx Remove C++ exception specifications, because they cause problems with some versions of the tools. Jifl -- Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762 "Plan to be spontaneous tomorrow." || These opinions are all my own fault