-
Notifications
You must be signed in to change notification settings - Fork 38
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
[meta] Reducing the diff to cygwin #221
Comments
@dscho maybe you have some thoughts on the questions |
I guess the overall question is whether we would want to consider upstreaming all of MSYS2's changes. If we do, we could eventually even have a If we don't want to go there, I think that we still want to rename the comments. Unless we are confident that we can avoid confusion when (admittedly, not very many) new contributors try to understand the source code. As to the question whether we want to be able to build an MSYS2 runtime in Cygwin and vice versa, I am somewhat doubtful that that in and of itself would make for a valuable goal. What would be the benefit worth the effort? |
It would be nice, but seems unrealistic at this point, i.e. it's not fun and there are more important things to do.
(it's not quite clear to me if you mean by rename, leave it renamed as is, or switch back to cygwin1.dll)
For "build the runtime under cygwin" would force things to be more upstreamable, and "our fork also builds for cygwin" would allow us to test things under cygwin to see if we broke unrelated functionality. But yeah, probably not worth it. |
I meant that switching back to talking about |
My personal favorite is https://www.msys2.org/wiki/Devtopics/#merge-with-cygwin "figure out if we can use Cygwin package repositories or if MSYS2 repositories can be used from Cygwin". Though it is a huge task, some little, seemingly insignificant steps may help to achieve that. |
Here is a very small PR for starters: #218
Also related: #70
First, I think we should not try to hide "cygwin" from users, and just think of the msys2-runtime as differently configured cygwin. Otherwise reducing the difference wont really work.
While looking at the diff some questions came up:
There are multiple instances of this and while it's correct I'm wondering if that is worth it
i.e. building under a cygwin env produces a msys2-runtime that can be copied and used to msys2.
If yes, we need to guard our changes with something different than
__MSYS__
I think.i.e. disable all our changes via some configure flag to produce a cygwin runtime
If yes, we'd need to guard all our changes somehow. Potentially a lot work and increases the diff. Easier in C, harder in the build system.
The text was updated successfully, but these errors were encountered: