This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Toolchain updates and flashv2 merge
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Martin Davey <martin dot davey9 at googlemail dot com>
- Cc: eCos discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 13 Nov 2008 14:56:28 +0000
- Subject: Re: [ECOS] Toolchain updates and flashv2 merge
- Openpgp: id=A5FB74E6
- References: <49199143.7010305@eCosCentric.com> <2382580F27234EEE9705F4A96D1D5D96@martindPC>
Martin Davey wrote:
> Sorry I felt I had to re-post after my previous post mess-up...
This one wasn't much clearer.
> I have downloaded the 20081107 cygwin arm-eabi toolchain, and was
> wondering if anyone else is experiencing the same problems as me with
> the compiler or perhaps cygwin itself. Not sure whether the problem lies
> with Cygwin, the compiler or just me...
I'm very tempted to blame Cygwin, but maybe that's just habit. If you have
an older cygwin, you could try a newer. If you have a newer cygwin, you
could try an older.
> Using the graphical ecos config tool I have configured a minimal ecos
> build for the STM32 Eval board. Everythings fine until build library,
> then on the first file it tries to compile:
>
> make[1]: Entering directory
> `/cygdrive/c/Users/martind/Projects/eCos/TestProjects/Test2/test2_build/hal/cortexm/arch/current'
>
> arm-eabi-gcc -c
> -I/cygdrive/c/Users/martind/Projects/eCos/TestProjects/Test2/test2_install/include
> -I/cygdrive/c/Users/martind/Projects/ecos/ecos/packages/hal/cortexm/arch/current
> -I/cygdrive/c/Users/martind/Projects/ecos/ecos/packages/hal/cortexm/arch/current/src
> -I/cygdrive/c/Users/martind/Projects/ecos/ecos/packages/hal/cortexm/arch/current/tests
> -I.
> -I/cygdrive/c/Users/martind/Projects/ecos/ecos/packages/hal/cortexm/arch/current/src/
> -finline-limit=7000 -march=armv7-m -mthumb -Wall -Wpointer-arith
> -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections
> -fdata-sections -fno-exceptions -Wp,-MD,src/hal_misc.tmp
> -osrc/hal_cortexm_arch_hal_misc.o/cygdrive/c/Users/martind/Projects/ecos/ecos/packages/hal/cortexm/arch/current/src/hal_misc.cmake[1]:
> *** [src/hal_misc.o.d] Error 1with no compiler error message.
These are not the default flags for the STM32 port. Please try a clean ecos
cvs checkout and try again.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ 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