Simple Cross Compiling Question

Nelson Castillo nelsoneci at gmail.com
Tue Jun 22 14:18:04 EDT 2010


On Tue, Jun 22, 2010 at 1:08 PM, David Reyes Samblas Martinez
<david at tuxbrain.com> wrote:
> 2010/6/22 Jason Self <jason at librewrt.org>:
>> Chris Troutner wrote:
>>> Hey all,
>>>
>>> I've got a pretty simple question:
>>>
>>> Is it possible (in terms of availability) to compile a C program on the
>>> NanoNote, natively? Or do you have to cross compile everything on a host
>>> PC?
>>
>> Compiling a simple application that says "Hello World" and exits takes 5
>> minutes to compile on the Ben.
>>
>> Now add to this that most programs are much more complicated, and you have
>> a compile that takes days or weeks to complete (assuming you can avoid
>> running out of memory in the process.)
>>
>> So yes, you /could/ compuile on the Ben but you could also hit yourself
>> with a hammer. Just because you /can/ doesn't mean you /should/. :)
> It's not so hard on debian I have compiled things a little bit (just a
> little bit) more complicated than Hello World and it takes no more
> than a minute, also in chat there was a report someone has achieved to
> compile the kernel inside nanonote (with swap and some hours)

I've compiled small C programas with GCC with 32MB of RAM in similar
boards using Debian.
It didn't take that long.




More information about the discussion mailing list


interactive