Native apps on Android FreeRunner

Jean-Michel Bouffard jean-michel.bouffard at crc.ca
Wed Nov 26 21:09:26 CET 2008


Quoting Holger Freyther <zecke at selfish.org>:

> On Wednesday 26 November 2008 17:34:39 Jean-Michel Bouffard wrote:
>> Hi,
>> I don't know if I'm on the right list but I'm trying to build native
>> applications for Android on the FreeRunner.
>> I found a procedure and it works for the hello world example but I
>> wanted to build busybox to get a little more control from the shell in
>> Android but the resulting binary is not working on the phone.
>> This is the procedure I followed:
>> http://honeypod.blogspot.com/2007/12/dynamically-linked-hello-world-for.htm
>
>
> Did you use the harry potter toolchain (code sourcery)? If you did, what is
> the default instruction set it is generating code for?
>
> So the first step:
> 	- Verify that you compile for armv4t
>
> z.
>
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>

Yes I used the toolchain from code sourcery with the following  
LDFLAGS: "-march=armv4t -mtune=arm920t". These are the same that are  
used by OpenEmbedded when I build applications for OM2008.x with the  
mokomakefile. I tried the hello world application with the same flags  
and it was working on the phone.

-- 
Jean-Michel

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the devel mailing list