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]
Other format: [Raw text]

Re: To: Ricardo Andrino about eb40A


Marcelo wrote:
After a Build Library command I received the following message:

A lot of this one: (with diferent directories)
make -r -C hal/arm/at91/eb40a/current headers
make[1]: Entering directory
`/ecos-c/cygwin/opt/ecos/ecos2.0/tools/bin/EB40a/eb40a_build/hal/arm/at91/eb
40a/current'
make[1]: Leaving directory
`/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_build/hal/arm/at91/e
b40a/current'

Then this:
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory
`/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_build/hal/arm/arch/c
urrent'
arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstr
ict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-secti
ons -fdata-sections -fno-rtti -fno-exceptions    -I/ecos-c/cygwin/opt/ecos/e
cos-2.0/tools/bin/EB40a/eb40a_install/include -I/ecos-c/cygwin/opt/ecos/ecos
/packages/hal/arm/arch/current -I/ecos-c/cygwin/opt/ecos/ecos/packages/hal/a
rm/arch/current/src -I/ecos-c/cygwin/opt/ecos/ecos/packages/hal/arm/arch/cur
rent/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/ecos-c/cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
In file included from
/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_install/include/cyg/h
al/hal_arch.h:58,
                 from
/ecos-c/cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
:57:
/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_install/include/cyg/i
nfra/cyg_type.h:244: warning: `CYG_WORD' is usually a function
In file included from
/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_install/include/cyg/h
al/hal_arch.h:58,
                 from
/ecos-c/cygwin/opt/ecos/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
:57:

A lot of this:
/ecos-c/cygwin/opt/ecos/ecos-2.0/tools/bin/EB40a/eb40a_install/include/cyg/i
nfra/cyg_type.h:263:3: invalid preprocessing directive #define

The tools are so confused that they don't think #define is a preprocessing directive, this is just plain weird.


What version of windows are you using? I see something similar reported here: http://sources.redhat.com/ml/ecos-discuss/2003-04/msg00361.html but no confirmation that that was indeed the issue and fix.

Otherwise, where did the tools (arm-elf-gcc etc.) come from? Are they the prebuilt ones from the eCos website? What's the output of "arm-elf-gcc -v" on the command line?

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
Visit us at Embedded World 2004, Nürnberg, Germany, 17-19 Feb, Stand 12-449
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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