question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Would it be possible to enable cross-compilation ?

See original GitHub issue

I would like some guidance on what would be necessary to use mingw-64 to build a Windows executable from a linux machine.

We have many go builds that enjoy a simple linux-based ci builds to produce Windows executables. We would probably be interested in the same for nuitka --standalone from a linux machine.

I have come across this: https://www.freelists.org/post/nuitka-dev/Patch-Added-crosscompilation-support-to-nuitka, but it seemingly has not received any feedback. This patch seems to point to a relatively easy thing to support.

Am I correct in my assumptions ? What would be needed for such a use-case ?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:15
  • Comments:38 (16 by maintainers)

github_iconTop GitHub Comments

15reactions
frmdstryrcommented, Feb 21, 2018

I’m also interested in using this to cross compile python distributions.

11reactions
prayag17commented, Apr 29, 2022

any updates on cross-compiling .py with nuitka?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I need a Cross Compiler? - OSDev Wiki
Your cross-compiler is able to work as a linker and using it as the linker allows it control at the linking stage.
Read more >
Cross compilation — nix.dev documentation
Cross compilation is needed when the host platform has limited resources (such as CPU) or when it's not easily accessible for development. The...
Read more >
Hosts and Cross-Compilation - Autoconf - GNU.org
If you specify both, and they're different, configure enters cross compilation mode, so it doesn't run any tests that require execution.
Read more >
Cross compiling for arm or aarch64 on Debian or Ubuntu
The ability to cross compile, for me, is most used to build troubleshooting tools that are not installed or available on Linux-based devices....
Read more >
Cross compilation - The Meson Build system
Just ignore target_machine altogether and you will be correct 99% of the time. Only compilers and similar tools care about the target machine....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found