Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with compiling a program to Windows exe from Linux #52604

Closed
Inplex-sys opened this issue Jun 3, 2023 · 2 comments
Closed

Issue with compiling a program to Windows exe from Linux #52604

Inplex-sys opened this issue Jun 3, 2023 · 2 comments
Labels
closed-duplicate Closed in favor of an existing report

Comments

@Inplex-sys
Copy link

Thank you for taking the time to file an issue!

This tracker is for issues related to:

  • Compiler

  • Dart SDK Version
    Dart SDK version: 3.0.3 (stable) (None) on "linux_x64"

I'm trying to compile a dart program from Debian 11 x64 with Windows as --target-os
Command: dart compile exe dart_loader.dart --target-os windows

The problem is that the input binary is not a Windows binary but a Linux binary
Command: dart_loader.exe: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped

How can i do ?

@Inplex-sys Inplex-sys changed the title Create an issue Issue with compiling a program to Windows exe from Linux Jun 3, 2023
@julemand101
Copy link
Contributor

Sounds like a duplicate of: #28617

@lrhn
Copy link
Member

lrhn commented Jun 3, 2023

It is a duplicate of #28617, if it's a request. If it's a question, the answer is that you cannot.

@lrhn lrhn closed this as completed Jun 3, 2023
@lrhn lrhn added the closed-duplicate Closed in favor of an existing report label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants