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]

Re: Trouble running ecosconfig under Linux/alpha


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

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