AAhhhh Forget it ...
It did run, Sorry for the false alarm.... Statically built app do run.
regards,
Pavan
On Fri, Dec 5, 2008 at 1:39 PM, pavan savoy <[EMAIL PROTECTED]> wrote:
> Hey In fact it does get into strace...
>
> execve("./app", ["./app"], [/* 9 vars */]) = -1 ENOENT (No such file or
> directory)
> write(2, "strace: exec", 12strace: exec) = 12
> write(2, ": ", 2: ) = 2
> write(2, "No such file or directory", 25No such file or directory) = 25
> write(2, "\n", 1
> ) = 1
> io_submit(1, -1344076868, {...} <unfinished ... exit status 1>
>
> Any Idea why does this happen ?
> Does Android somewhere have a secret list of all executables built along
> with it ??
>
> regards,
> Pavan
>
> On Fri, Dec 5, 2008 at 1:32 PM, pavan savoy <[EMAIL PROTECTED]> wrote:
>
>> Hi.
>>
>> Strange, for me the binary isn't even detected, i.e it shows no such file
>> or directory, however I do an ls or cd into that directory, I do find the
>> executable, even a ./my_app behaves the same.
>>
>> It is strange, because, I can't even do a strace, to figure out, why it
>> doesn't run.
>>
>> regards,
>> Pavan
>>
>> On Fri, Dec 5, 2008 at 1:28 PM, EricDittert <[EMAIL PROTECTED]>wrote:
>>
>>>
>>> Pavan -
>>>
>>> Is the app that you are trying to run linked statically, or is it
>>> built to be linked dynamically? If you can build it so that it is
>>> statically linked, your chances of success are probably much greater.
>>> Running an app that is built with a different tool chain and is built
>>> for dynamic linking can be very challenging. I have been able to do
>>> it in some cases, but it can be a lot of work.
>>>
>>> >
>>> > > > If I can't because I've tried, Why not ?
>>>
>>> Just out of curiosity, what happens when you try?
>>>
>>> Cheers,
>>> Eric
>>>
>>> >>>
>>>
>>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---