This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with precompiled Cygwin arm-eabi toolchain
- From: John Dallaway <john at dallaway dot org dot uk>
- To: smolugu <asksri at indiatimes dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 18 Mar 2010 15:39:21 +0000
- Subject: [ECOS] Re: Problem with precompiled Cygwin arm-eabi toolchain
- References: <49710EB1.1080306@web.de> <49722635.3060807@dallaway.org.uk> <497384ED.3070102@web.de> <4974327B.9050103@dallaway.org.uk> <4974AC08.4050109@web.de> <4974B509.1010600@dallaway.org.uk> <49757A2D.1080702@cetoni.de> <497588CF.7070305@dallaway.org.uk> <27940873.post@talk.nabble.com>
Hi Sridhar
smolugu wrote:
> I try to build in the configuration tool for STM32, I set the build path to
> where I copied the arm-none-eabi tool chain i.e
> C:\cygwin\ecos-3.0\arm_eabi_2009q3_63\arm-2009q3\bin.
>
> actually its asking for arm-eabi-gcc but I couldn't find I got the package
> for arm-none-eabi from
> http://www.codesourcery.com/sgpp/lite/arm/portal/release1033.
> I followed the steps to set tool
> chaing->http://groups.google.com/group/python-on-a-chip/web/arm-toolchain-build?pli=1
>
> after that when I build I get the following error.
> .....
> make[1]: Leaving directory `/ecos-3.0/temp/stm32_build/fs/fat/v3_0'
> headers finished
> make -r -C services/memalloc/common/v3_0 heapgeninc.tcl
> make[1]: Entering directory
> `/ecos-3.0/temp/stm32_build/services/memalloc/common/v3_0'
> arm-eabi-gcc -finline-limit=7000 -Wall -Wpointer-arith -Wundef
> -Woverloaded-virtual -Wno-write-strings -mcpu=cortex-m3 -mthumb -g -O2
> -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
> -I/ecos-3.0/temp/stm32_install/include
> -I/ecos-3.0/packages/services/memalloc/common/v3_0
> -I/ecos-3.0/packages/services/memalloc/common/v3_0/src
> -I/ecos-3.0/packages/services/memalloc/common/v3_0/tests -I.
> -Wp,-MD,heapgen.tmp -E
> /ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp -o
> heapgeninc.tcl
> make[1]: Leaving directory
> `/ecos-3.0/temp/stm32_build/services/memalloc/common/v3_0'
> make[1]: arm-eabi-gcc: Command not found
> make: Leaving directory `/ecos-3.0/temp/stm32_build'
> make[1]: *** [heapgeninc.tcl] Error 127
> make: *** [build] Error 2
>
> Please can you let me know where its going wrong.
The eCos build system is looking for GNU tools with an "arm-eabi"
command prefix. You will need to locate and modify the
CYGBLD_GLOBAL_COMMAND_PREFIX option within the eCos Configuration Tool
in order to use a toolchain with an "arm-none-eabi" command prefix. You
will find the option at Configuration -> Global build options -> Global
command prefix within the configuration tree.
I hope this helps...
John Dallaway
eCos maintainer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss