This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Trouble running ecosconfig under Linux/alpha
- To: Stephen Williams <steve at icarus dot com>
- Subject: Re: [ECOS] Trouble running ecosconfig under Linux/alpha
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Wed, 22 Nov 2000 01:39:44 +0000
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200011212058.MAA23339@icarus.com>
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 <bartv@redhat.com>
* 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