Emscripten compiles LLVM IR into JavaScript. It is easy to convert C and
C++ into LLVM IR. So if you can convert x86 or ARM assembly into C, C++ or
LLVM IR, then this could work. I am not aware of great way to do it, but
there are disassemblers out there that you could try.

- Alon



On Wed, Feb 19, 2014 at 3:49 PM, wowi <[email protected]> wrote:

> Hi,
>
> This is a newb question. I'm wondering if I can use emscripten sdk for
> this particular project:
>
> Original source for app:
>
> - a library written in x86 assembly language, for example
> "libsomeasmstuff.a"
> - Some C source code that calls the above library "libsomeasmstuff.a"
> - Some C code that has inline x86 assembly code
>
> Desired:
>
> - a javascript version of the above app
>
> Questions:
>
> 1. Is there anyway to use emscripten-sdk (OSX Mavericks) or maybe
> emscripten on a linux box to achieve this? Ideally I would like to get this
> app to run in the browser on Mac/Win/Linux.
> 2. There is also an ARM version of "libsomeasmstuff.a". Can this work on
> ARM based phones as well? Ideally to get it to run in Chrome/Safari on
> Android/iPhone.
>
> Any comments greatly appreciated.
>
> Thanks in advance,
> Wowi
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to