This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
In great Need of some Educate'n
- From: "John Morrison" <JMorrison at printronix dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 1 Jul 2008 14:52:04 -0700
- Subject: [ECOS] In great Need of some Educate'n
Help.
We need to upgrade the binutils and GCC to 2.18 and 4.2.3 respectively
(something to do with FreeBDS?). We are currently at 2.10.1 and 2.95.2.
Our code was easy fix, but I'm having trouble rebuilding Ecos. I
believe that we are running 1.3.1? I'm not sure, I've kinda taken over
this stuff from someone else.
What would be the normal steps to rebuild the ecos libraries? Does the
build process create new versions of stdio, stdarg, etc.?
The target is powerpc-eabi.
I'm really at a loss on how to start. There were some printed
instructions left behind talking about configtool, which I am able to
run, but I get errors like:
>>>>>>>>
make -r -C language/c/libc/string/current headers
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc: Assembler
messages:
make[1]: Entering directory `<my path
info>/bldEcos1/ecos_build/language/c/libc/string/current'
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:138:
Error: Macro `lwi' was already defined
make[1]: Nothing to be done for `headers'.
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:145:
Error: Macro `mfhid0' was already defined
make[1]: Leaving directory `<my path
info>/bldEcos1/ecos_build/language/c/libc/string/current'
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:162:
Error: Macro `hal_fpu_save' was already defined
make -r -C language/c/libc/time/current headers
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:165:
Error: Macro `hal_fpu_load' was already defined
make[1]: Entering directory `<my path
info>/bldEcos1/ecos_build/language/c/libc/time/current'
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:174:
Error: Macro `hal_cpu_int_enable' was already defined
make[1]: Nothing to be done for `headers'.
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:184:
Error: Macro `hal_cpu_int_disable' was already defined
make[1]: Leaving directory `<my path
info>/bldEcos1/ecos_build/language/c/libc/time/current'
<my path info>/bldEcos1/ecos_install/include/cyg/hal/arch.inc:195:
Error: Macro `hal_cpu_int_merge' was already defined
make -r -C language/c/libm/current headers
make[1]: *** [src/context.o.d] Error 1
make[1]: Entering directory `<my path
info>/bldEcos1/ecos_build/language/c/libm/current'
make: *** [build] Error 2
<<<<<<<<
Any tips, pointers, questions I can answer, etc, would be greatly
appreciated.
Thanks
John Morrison
Printronix, Inc
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss