[Buildroot] Compiler for arm7tdmi
Jon Smirl
jonsmirl at gmail.com
Thu Oct 8 19:32:47 UTC 2009
On Thu, Oct 8, 2009 at 3:28 PM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On Thu, Oct 08, 2009 at 03:23:58PM -0400, Jon Smirl wrote:
>>On Thu, Oct 8, 2009 at 3:22 PM, Bernhard Reutner-Fischer
>><rep.dot.nop at gmail.com> wrote:
>>> On Thu, Oct 08, 2009 at 03:20:23PM -0400, Jon Smirl wrote:
>>>>On Thu, Oct 8, 2009 at 3:16 PM, Jon Smirl <jonsmirl at gmail.com> wrote:
>>>>> On Thu, Oct 8, 2009 at 3:10 PM, Bernhard Reutner-Fischer
>>>>> <rep.dot.nop at gmail.com> wrote:
>>>>>> On Thu, Oct 08, 2009 at 02:55:48PM -0400, Jon Smirl wrote:
>>>>>>>I'm not having any luck building a compiler for arm7tdmi. I have the
>>>>>>>static_flat file format selected, I couldn't get Elf to build. My goal
>>>>>>>is to compile Contiki for a Freescale MC1322x.
>>>>>>
>>>>>> I don't think that flat support is working in the official repo.
>>>>>> I once started to add support in my repo.or.cz/w/buildroot tree, but
>>>>>> even that is not finished yet.
>>>>>
>>>>> Which format should I be using for arm7tdmi onto bare hardware?
>>>>
>>>>The elf target fails building with:
>>>>cc1: error: unrecognized command line option "-mfdpic"
>>>
>>> sounds like a misconfiguration to me (of uClibc).
>>
>>I tool all of the defaults except for setting my CPU to arm/arm7tdmi.
>>
>>What should I try changing?
>
> make uclibc-menuconfig
> and then search for FDPIC, i.e. type, literally:
> /FDPIC
> (followed by a newline).
> HTH,
>
There are four choices for output file format:
( ) FDPIC ELF
( ) STATIC FLAT
( ) STATIC FLAT (sep-data)
(X) SHARED FLAT
( ) FDPIC ELF
This is the default. Causes -mfdpic compile error.
( ) STATIC FLAT
I tried this one and got the _fini_array_end compile error.
(X) SHARED FLAT
This is currently building.
Jon Smirl
jonsmirl at gmail.com
More information about the buildroot
mailing list