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

Add mingw-w64-mono-dotnet #20547

Open
6 tasks done
iahung3 opened this issue Apr 4, 2024 · 14 comments
Open
6 tasks done

Add mingw-w64-mono-dotnet #20547

iahung3 opened this issue Apr 4, 2024 · 14 comments

Comments

@iahung3
Copy link
Contributor

iahung3 commented Apr 4, 2024

Package name

mingw-w64-mono-dotnet

Brief description of package

Mono is an alternative .NET runtime

URL for package's homepage

https://github.com/dotnet/runtime/tree/main/src/mono

Provide a basic test case to validate the package's functionality.

This version of Mono supports .NET Core. The original version of Mono only supports .NET Framework.

dotnet/runtime#99038

MINGW environments where you need the package

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No

@Kreijstal
Copy link
Contributor

yeah you still need to do a big refactor or rewrite it from scratch

@Kreijstal
Copy link
Contributor

@Kreijstal
Copy link
Contributor

@Kreijstal
Copy link
Contributor

maybe someone can translate the C# code to java or C++

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 6, 2024

https://news.ycombinator.com/item?id=12626268

This information is outdated. dotnet has really improved its portability.
https://github.com/sec/dotnet-core-freebsd-source-build
https://github.com/Thefrank/dotnet-freebsd-crossbuild
https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/freebsd-requirements.md

you need working sdk on all of them, which we don't have..?

Who stop you from downloading a working sdk from Microsoft? Remember, you are on Windows. It will be much much easier than for people on FreeBSD. Not only dotnet needs a bootstrap sdk, Java JDK/JRE needs a bootstrap sdk, too. You have to accept the fact that they are designed this way.

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 6, 2024

maybe someone can translate the C# code to java or C++

This is a very unrealistic idea.

@Kreijstal
Copy link
Contributor

https://news.ycombinator.com/item?id=12626268

This information is outdated. dotnet has really improved its portability.
https://github.com/sec/dotnet-core-freebsd-source-build
https://github.com/Thefrank/dotnet-freebsd-crossbuild
https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/freebsd-requirements.md

you need working sdk on all of them, which we don't have..?

Who stop you from downloading a working sdk from Microsoft? Remember, you are on Windows. It will be much much easier than for people on FreeBSD. Not only dotnet needs a bootstrap sdk, Java JDK/JRE needs a bootstrap sdk, too. You have to accept the fact that they are designed this way.

I mean you could just use dotnet with msvc at that point

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 6, 2024

Please get back to the topic. This thread is about mono. If you need a bootstrap dotnet sdk to compile the C# source, you can download from Microsoft. What we have to deal with is building the C++ code.

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 6, 2024

Please have a look at this CMake build script to know what I'm talking about:

https://github.com/dotnet/runtime/blob/main/src/mono/CMakeLists.txt

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 6, 2024

If you need a bootstrap dotnet sdk to compile the C# source, you can download from Microsoft. What we have to deal with is building the C++ code.

Btw, this is still true with the full dotnet on #20075

@Kreijstal
Copy link
Contributor

maybe someone can translate the C# code to java or C++

This is a very unrealistic idea.

don't be so negative, it just takes a lot of work, but I still don't see how you are going to bootstrap it without rewriting half of it.

@iahung3
Copy link
Contributor Author

iahung3 commented Apr 7, 2024

maybe someone can translate the C# code to java or C++

This is a very unrealistic idea.

don't be so negative, it just takes a lot of work, but I still don't see how you are going to bootstrap it without rewriting half of it.

Why is it too hard to get you to understand? You use an existing sdk to bootstrap it. You don't have to rewrite it into other languages, and you can't anyway.

@Kreijstal
Copy link
Contributor

maybe someone can translate the C# code to java or C++

This is a very unrealistic idea.

don't be so negative, it just takes a lot of work, but I still don't see how you are going to bootstrap it without rewriting half of it.

Why is it too hard to get you to understand? You use an existing sdk to bootstrap it. You don't have to rewrite it into other languages, and you can't anyway.

we should stick to small subsets of the runtime, this should be easier to port and grow from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants