[ECOS] compile problems under redhat 6.0, glibc 2.1
Tue Aug 3 17:54:00 GMT 1999
Tim Potter wrote:
> There were some other problems though:
> - strchr() prototype in src/expect/exp_strf.c [included in patch]
> - use of preprocessor directives within a macro: strncmp() is
> a macro in glibc 2.1 src/make/arscan.c
> - needed an -I/usr/include/ncurses in LOCAL_CFLAGS for
> - comment out proto for strdup in src/gdb/gdb_string.h
Ah, oops. As it turns out the patch is for the ARM tools only, and it
appears you are compiling the other tool suite. I have now made a new patch
The only problem is that I can't reproduce the problem you had with readline
on a RH6 box here.
> Is there any reason why different versions of make, gdb, expect and
> friends are required for eCos?
They were included mostly for the benefit of those Unix platforms that do
not come with GNU tools by default. eCos specifically requires GNU make. If
you already have GNU make, you could save a little build time by simply
deleting the make subdirectory.
> There is certainly a change in gcc as
> the version provided in the ecosSWtools archive has support for the
> -fdata-sections flag whereas egcs-1.1.2 doesn't. It would be neat
> someday to be able to compile the synthetic i386 target using an
> unmodified (native) toolchain.
I would expect the newly released gcc-2.95 ( http://gcc.gnu.org/ ) should
work fine. The next release of eCos is likely to move towards us showing you
how to grab the latest release of the net stuff, rather than a monolithic
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
my brains kept falling out." || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault
More information about the Ecos-discuss