|
From: | Rob Savoye |
Subject: | Re: [Gnash-dev] android toolchain |
Date: | Fri, 06 Nov 2009 07:18:37 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 11/06/09 06:53, ???? wrote:
Then I tried to built gnash in a static way.I add"--disable-shared --enable-static" to the configure option,after the cross compiling,I got a "sdl-gnash" too.But I found that this "sdl-gnash" was not a static binary,it still depended on libc.so,libgcc_s.so etc.So when I push it into android,it didn't work either.
The Code Sourcery toolchain uses a different libc than Android. While the result should run anyway, you can't access any of the phone functions, which require the Android libc. The toolchain I built uses the Android libc, as I pulled it out of the SDK.
However,it didn't work on android even for a "helloworld.c"(it can compile successfully,but don't work on android). can anyone tell me why this toolchain doesn't work?
Android has had several releases since I built that toolchain snapshot, so my guess is it needs to be updated. I'm heading to a conference shortly for the weekend, so I won't be able to look into this till next week.
- rob -
[Prev in Thread] | Current Thread | [Next in Thread] |