Hi Uwe Uwe Kindler wrote:
> could anybody successful compile an eCos image for ARM7 architecture > with the new precompiled arm-eabi toolchain for Cygwin? > > If I use the arm-eabi toolchain the build process stops at the first C > source file hal_mk_defs.c with the following "informative" error message: > > make -r -C hal/arm/arch/current arm.inc > make[1]: Entering directory > `/ecos-d/cygwin/home/Nutzer/workdir/ea2468_new_kernel_01_build/hal/arm/arch/current' > > arm-eabi-gcc -finline-limit=7000 -g2 -O0 > -I/ecos-d/cygwin/home/Nutzer/workdir/ea2468_new_kernel_01_install/include > -I/opt/ecos_web_cvs/ecos/packages/hal/arm/arch/current > -I/opt/ecos_web_cvs/ecos/packages/hal/arm/arch/current/src > -I/opt/ecos_web_cvs/ecos/packages/hal/arm/arch/current/tests -I. > -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S > /opt/ecos_web_cvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c > make[1]: Leaving directory > `/ecos-d/cygwin/home/Nutzer/workdir/ea2468_new_kernel_01_build/hal/arm/arch/current' > > make[1]: *** [arm.inc] Error 1 Building eCos and tests for target ea2468 with the kernel template works fine for me using the 2008-12-13 arm-eabi toolchain under the latest Cygwin. I set CYGBLG_GLOBAL_COMMAND_PREFIX == "arm-eabi" and removed "-mno-short-load-words" from CYGBLG_GLOBAL_CFLAGS. I note that you have further modified the compilation flags. The flags should look something like this: > -finline-limit=7000 -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes > -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions Also, check that "arm-eabi-gcc" works from a bash prompt and that you have "fgrep" and "sed" installed. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
