This is the mail archive of the ecos-discuss@sourceware.org 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: Problem with precompiled Cygwin arm-eabi toolchain


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


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