This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
library build errors following ecos- and toolchain update - at91sam7x-based target
- From: "Bob Brusa" <bob dot brusa at gmail dot com>
- To: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 11 Feb 2010 22:06:02 +0100
- Subject: [ECOS]library build errors following ecos- and toolchain update - at91sam7x-based target
- Reply-to: bob dot brusa at gmail dot com
Hi
Having done some work with ecos-3.0 and a GNUARM-toolchain, it thought its
time to update my system. But I run into troubles. What I did:
a) installing a clean ecos-3.0 from a mirror in Germany - not for ecos,
but for the tools that come with it (configtool.exe)
b) created an empty directory c:\cygwin\ecoscvs and run the checkout
command of cvs (as described in http://ecos.sourceware.org/anoncvs.html.
c) run the cvs-update command. ecos is at c:\cygwin\ecoscvs\ecos
d) downloaded and installed the most recent toolchain from codesourcery:
arm-2009q3-68-arm-none-eabi.exe
e) added my target to ecos (the one of b+c) using the administrator
command of configtool.exe
f) saved the configuration and created the directory tree and then started
build of my library (at c:\ecos\icb4)
My system is Windows XP prof. and cygwin, including dev. tools is
installed.
The environment variable CYGPATH is set to c:/cygwin/bin/cygpath and
the repository in configtool is C:\cygwin\ecoscvs\ecos
The build does not go very far, but soon stops with an error. Here is what
I get:
...cut
make -r -C language/c/libm/current headers
make[1]: Entering directory
`/ecos-c/ecos/icb4/icb_lib_1_build/language/c/libm/current'
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/ecos-c/ecos/icb4/icb_lib_1_build/language/c/libm/current'
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory
`/ecos-c/ecos/icb4/icb_lib_1_build/hal/arm/arch/current'
arm-none-eabi-gcc -finline-limit=7000 -Wall -Wpointer-arith
-Wstrict-prototypes -Wundef -Wno-write-strings -mno-thumb-interwork
-mcpu=arm7tdmi -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -I/ecos-c/ecos/icb4/icb_lib_1_install/include
-I/ecoscvs/ecos/packages/hal/arm/arch/current
-I/ecoscvs/ecos/packages/hal/arm/arch/current/src
-I/ecoscvs/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o
hal_mk_defs.tmp -S
/ecoscvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
make[1]: Leaving directory
`/ecos-c/ecos/icb4/icb_lib_1_build/hal/arm/arch/current'
arm-none-eabi-gcc.exe:
/ecoscvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: No such
file or directory
make: Leaving directory `/ecos-c/ecos/icb4/icb_lib_1_build'
arm-none-eabi-gcc.exe: no input files
make[1]: *** [arm.inc] Error 1
make: *** [build] Error 2
It seems that the compiler has a problem with c:\cygwin - which it should
use as a prefix to the path. Any ideas how to fix this?
Thanks for help and regards Robert
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss