AtomX
AtomX

Reputation: 374

Does Gluon Mobile support cross compilation?

I know Gluon uses GraalVM Native Image features to create native executable packages. But... What I need to know is:

What about deploying Windows ".exe" packages in Linux, Is it possible?

Upvotes: 1

Views: 271

Answers (1)

José Pereda
José Pereda

Reputation: 45456

If you check the documentation for the Client plugin, there are some requisites to be met in order to create a native image.

So far, the following hosts are required for the possible native image targets:

  • Linux: targets Linux (x86_64 desktop) and Android (aarch64). Embedded support is still experimental.

  • Windows: targets Windows (x86_64 desktop). Optionally WSL 2 (Windows Subsystem for Linux) can be used to target Linux/Android.

  • MacOS X 10: targets Mac (x86_64 desktop) and iOS (arm64).

For each host you need a specific GraalVM build.

See the different samples, and the tutorials (like this one) to know more about each scenario.

Upvotes: 2

Related Questions