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: smolugu <asksri at indiatimes dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 19 Mar 2010 06:44:27 -0700 (PDT)
- Subject: Re: [ECOS] 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> <4BA24929.4070208@dallaway.org.uk> <27950898.post@talk.nabble.com>
Hi John,
I set the arm-none-eabi in Configuration -> Global build options -> Global
command
now I am getting the following error, it says it cannot find file
/ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp: No such
file or directory
but this file is present in packages/service/memalloc/common/v3/src but this
is only.cpp file the rest of the files are .cxx (c++ file) why this change I
cannot make out.
Is there document which explains about the Configtool build library?
_________________________________________________________________________________
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'
arm-none-eabi-gcc.exe:
/ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp: No such
file or directory
make: Leaving directory `/ecos-3.0/temp/stm32_build'
arm-none-eabi-gcc.exe: no input files
make[1]: *** [heapgeninc.tcl] Error 1
________________________________________________________
Thanks
Sridhar
smolugu wrote:
>
> Hi John,
> I set the arm-none-eabi in Configuration -> Global build options -> Global
> command
>
> now I am getting the following error, it says it cannot find file
> /ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp: No such
> file or directory
> but this file is present in packages/service/memalloc/common/v3/src but
> this is only.cpp file the rest of the files are .cxx (c++ file) why this
> change I cannot make out.
>
> Is there document which explains about the Configtool build library?
> _________________________________________________________________________________
> 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'
> arm-none-eabi-gcc.exe:
> /ecos-3.0/packages/services/memalloc/common/v3_0/src/heapgen.cpp: No such
> file or directory
> make: Leaving directory `/ecos-3.0/temp/stm32_build'
> arm-none-eabi-gcc.exe: no input files
> make[1]: *** [heapgeninc.tcl] Error 1
> ________________________________________________________
>
> Thanks
> Sridhar
>
>
> John Dallaway-2 wrote:
>>
>> 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
>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Problem-with-precompiled-Cygwin-arm-eabi-toolchain-tp21510048p27950958.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss