ocamljava icon indicating copy to clipboard operation
ocamljava copied to clipboard

ocamljava for 32-bit windows

Open antoine1fr opened this issue 10 years ago • 4 comments

I have to port a tool written in OCaml on a 32-bit JVM. I'll surely rewrite the tool in another language for now, but I think it's quite sad to do so.

Do you plan to provide support for 32-bit platforms? It would be awesome to continue to use OCaml.

antoine1fr avatar Dec 11 '14 17:12 antoine1fr

Could you elaborate on the need to have support for 32-bit platforms in OCaml-Java? I mean, Java is supposed to gracefully handle such platforms.

xclerc avatar Mar 11 '15 17:03 xclerc

If I remember correctly, I got an error message somewhere in the process, telling me that 32-bit JVMs were not supported.

I'll try to reproduce it as soon as I have the time.

EDIT : not 32-bit JVMs but 32-bit dev environment.

antoine1fr avatar Mar 11 '15 17:03 antoine1fr

You shouldn't get such an error about JVMs, but building from sources requires a 64-bit machine. However, if you are using the binary release, both 32- and 64-bits platforms are supported.

Anyway, files compiled through ocamljava can be run on any JVM.

xclerc avatar Mar 11 '15 17:03 xclerc

I understand the same bytecode can run on both 32-bit and 64-bit JVMs.

The problem was that the client I worked for at the time only had 32-bit, Windows development stations. So, ocamljava was quickly discarded.

It would have been really cool to just use ocamljava though.

antoine1fr avatar Mar 11 '15 18:03 antoine1fr