U
U
uRoot2021-05-08 20:48:47
Dart
uRoot, 2021-05-08 20:48:47

How to port a dart program to another Linux?

I have a console utility that I compiled under Linux and got the following output:

  • main.aot
  • main.dill
  • main.jit

Let's say I want to transfer to another Linux where there is no Dart and I can't give one of the commands:
  • dartaotruntime main.aot
  • dart run main.jit
  • dart run main.dill

to run the utility. What can I do for portability? Somehow to pack or maybe somehow differently?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mikeyuri, 2021-05-09
@mikeyuri

https://dart.dev/tools/dart-compile#exe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question