This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Does GCC-3.0 break ecos-CVS?
- To: CShihPin at dso dot org dot sg
- Subject: Re: [ECOS] Does GCC-3.0 break ecos-CVS?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Sun, 08 Jul 2001 20:45:33 +0100
- CC: ecos-discuss at sources dot redhat dot com, Bart Veer <bartv at redhat dot com>
- References: <F1560mJWEsBk31TZ14e000095cd@hotmail.com>
Richard Chan wrote:
>
> Hi, I am trying to build the ecos tools from CVS using a GCC 3.0
> on i686-linux-pc-gnu. GCC 3.0 was built with --disable-shared
> and --enable-shared for libstdc++. I'm using the whole libstdc++-v3 ISO
> compliance caboodle. I am also using binutils-2.11.2.
>
> Here are two problems with interp.cxx:
>
> including -I/usr/include on the command line of c++ means
> that c++ can't find <string.h> using #include_next
> FIX: don't explicitly use -I/usr/include on c++ command line?
Interesting that one - the problem is because we search for tcl.h and
include its location explicitly on the command line even if it's already in
the include path. I'm not sure how to fix this - explicitly matching
against /usr/include isn't necessarily right as libcdl could be host-x-host
cross-compiled. Determining the system include path doesn't seem to be
easy. And just testing for whether an include of <tcl.h> works is dubious
as well because it may have been overridden with --with-tcl-header or
--with-tcl to select a different version than the system version.
I think explicitly matching /usr/include is probably good enough for most
purposes. Bart?
> isspace is undefined (line 1358) because interp.cxx doesn't include
> ctype.h.
> FIX: #include <ctype.h> somewhere in interp.cxx?
>
> I'll let you all know any further problems. BTW ecos
> was pulled from CVS.
Easily fixed. Done. Ditto flags.cxx.
Thanks for the reports.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/