This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Redboot building issue
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Syed Ismail <ismail dot riyaz at dyansys dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 26 Oct 2007 03:34:06 -0600
- Subject: Re: [ECOS] Redboot building issue
- References: <20071026075643.65218.qmail@pro3.rediffmailpro.com>
Syed Ismail wrote:
>
>
> On Thu, 25 Oct 2007 Gary Thomas wrote :
>> Syed Ismail wrote:
>>> Hi
>>> I am trying to build redboot for freescale based
>> mx31 ads platform.
>>> I am able to build it using arm-elf toolchain
>> provided by ecos. I havent
>>> tested it as yet for fear of crashing. I would like
>> to know if it is
>>> necessary to build it using the toolchain provided by
>> freescale only
>>> (this doesnt build).
>> Yes, this should work just fine.
>>
>> Which tools from FreeScale are you using? Why/how does
>> it fail?
>>
> Thanks for the followup. The tool from freescale is in
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-6/arm-none-linux-gnueabi/bin
> The tools in this directory are
> arm-none-linux-gnueabi-addr2line arm-none-linux-gnueabi-gcc arm-none-linux-gnueabi-objdump
> arm-none-linux-gnueabi-ar arm-none-linux-gnueabi-gcc-4.1.1 arm-none-linux-gnueabi-ranlib
> arm-none-linux-gnueabi-as arm-none-linux-gnueabi-gccbug arm-none-linux-gnueabi-readelf
> arm-none-linux-gnueabi-c++ arm-none-linux-gnueabi-gcov arm-none-linux-gnueabi-size
> arm-none-linux-gnueabi-c++filt arm-none-linux-gnueabi-ld arm-none-linux-gnueabi-strings
> arm-none-linux-gnueabi-cpp arm-none-linux-gnueabi-nm arm-none-linux-gnueabi-strip
> arm-none-linux-gnueabi-g++ arm-none-linux-gnueabi-objcopy fix-embedded-paths
> The error during build was arm-elf command not found.
> I changed it to arm-none-linux-gnueabi in the global build options.
> The error now is
> /home/ismail/src/ecos/packages/infra/current/src/diag.cxx:90: error: 'init_priority' attribute is not supported on this platform
> I am pretty new to ecos. So kindly explain as you would to such a one
> Thanks in advance
>
Please keep your replies on the mailing list so that all may benefit.
eCos [probably] won't work if you compile using those tools - you are
better off with the arm-elf tools that you used.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss