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: Wed, 17 Mar 2010 18:58:21 -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>
Hi John,
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.
Thanks
Sridhar
John Dallaway-2 wrote:
>
> Uwe Kindler wrote:
>
>> John Dallaway schrieb:
>>>
>>> Good to hear that you are making progress. To narrow the search, you
>>> could try comparing the output of:
>>>
>>> strace arm-eabi-gcc -c test.c -o test.o
>>
>> I did this an checked the output of strace. In the output I could see
>> that arm-eabi-gcc calls cc1.exe in arm-eabi\libexec\gcc\arm-eabi\4.3.2
>> folder and this call failed. Then I tried to invoke cc1.exe from command
>> line and finally a message box told me that the files cyggmp-3.dll and
>> cygmpfr-1.dll are missing. I installed the packages libgmp3 and libmpfr1
>> and now I can build the ea2468 target without any problems.
>
> Thank you for the feedback, Uwe. The use of these particular DLLs makes
> sense, but the silent failure without them is not helpful. I will make
> sure that these requirements are included in the eCos 3.0 installation
> instructions.
>
> John Dallaway
>
> --
> 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-tp21510048p27940871.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