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 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


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