Simple Cross Compiling Question

David Reyes Samblas Martinez david at tuxbrain.com
Tue Jun 22 14:08:34 EDT 2010


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)
>
> Cross comiling is much faster.
Toooootally agree
>
>
> _______________________________________________
> Qi Developer Mailing List
> Mail to list (members only): developer at lists.qi-hardware.com
> Subscribe or Unsubscribe: http://en.qi-hardware.com/mailman/listinfo/developer
>



-- 
David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable & embedded solutions
Ben NanoNote, Arduino, Openmoko
Hey, watch out!!! There's a linux in your pocket!!!




More information about the discussion mailing list


interactive