-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Remove the Mingw32/Mingw64 support #9973
Comments
I agree, I see no advantages to keep MinGW while MSVC is available. |
How can i get msvc in mac/linux? Mingw is there because its the only easy way to crosscompile to windows from there. Imho its useful, but i agree there are some inconsistencies that can make some people complain
… On 28 Apr 2018, at 08:58, xarkes ***@***.***> wrote:
I agree, I see no advantages to keep MinGW while MSVC is available.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Well indeed, but give me one good reason to cross compile when there are releases binaries? If you don't have Windows, you surely don't need Windows binaries? |
@radare easy - just use Wine: https://github.com/xantares/msvc-wine |
And how to wget msvc.zip?
… On 28 Apr 2018, at 10:07, Anton Kochkov ***@***.***> wrote:
@radare easy - just use Wine: https://github.com/xantares/msvc-wine
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
… On Sat, Apr 28, 2018, 5:31 PM radare ***@***.***> wrote:
And how to wget msvc.zip?
> On 28 Apr 2018, at 10:07, Anton Kochkov ***@***.***>
wrote:
>
> @radare easy - just use Wine: https://github.com/xantares/msvc-wine
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9973 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMZ_U7iD9ZnWPoMKWA3EtFPxvnLE8szks5ttDb4gaJpZM4TrO2a>
.
|
Why is this thing not in r2pm yet then?
… On 28 Apr 2018, at 11:47, Anton Kochkov ***@***.***> wrote:
http://landinghub.visualstudio.com/visual-cpp-build-tools
On Sat, Apr 28, 2018, 5:31 PM radare ***@***.***> wrote:
> And how to wget msvc.zip?
>
> > On 28 Apr 2018, at 10:07, Anton Kochkov ***@***.***>
> wrote:
> >
> > @radare easy - just use Wine: https://github.com/xantares/msvc-wine
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub, or mute the thread.
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#9973 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAMZ_U7iD9ZnWPoMKWA3EtFPxvnLE8szks5ttDb4gaJpZM4TrO2a>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Because no one needed it until you today :p |
Let me try first. But my reasoning for this would be if mingw project was dead. Which seems so because it was forked here
https://mingw-w64.org
And maybe that people would want to use r2 as a testbed for improving their project too. Last release was half a year ago and maybe we want to point them all those missing function definitions and unicode issues
What do you think?
… On 28 Apr 2018, at 12:36, xarkes ***@***.***> wrote:
Because no one needed it until you today :p
So if we add that to r2pm and documentation to cross compile with wine, then it's all good, we can remove MinGW support?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Mainly because i dont like to depend on privative software to do something. And when i was maintaining r2 for windows i was doing cygwin and mingw alone
… On 28 Apr 2018, at 12:36, xarkes ***@***.***> wrote:
Because no one needed it until you today :p
So if we add that to r2pm and documentation to cross compile with wine, then it's all good, we can remove MinGW support?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I was using Cygwin and Mingw too, but these days those are not popular due
to WSL (and improved C99 in MSVC) and have too big overhead.
On Apr 29, 2018 4:19 AM, "radare" <[email protected]> wrote:
Mainly because i dont like to depend on privative software to do something.
And when i was maintaining r2 for windows i was doing cygwin and mingw alone
On 28 Apr 2018, at 12:36, xarkes ***@***.***> wrote:
Because no one needed it until you today :p
So if we add that to r2pm and documentation to cross compile with wine,
then it's all good, we can remove MinGW support?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9973 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMZ_V6xnD8LbY_rWgClvzXKYVnnSFk0ks5ttM7hgaJpZM4TrO2a>
.
|
World surf league?
… On 29 Apr 2018, at 04:30, Anton Kochkov ***@***.***> wrote:
I was using Cygwin and Mingw too, but these days those are not popular due
to WSL (and improved C99 in MSVC) and have too big overhead.
On Apr 29, 2018 4:19 AM, "radare" ***@***.***> wrote:
Mainly because i dont like to depend on privative software to do something.
And when i was maintaining r2 for windows i was doing cygwin and mingw alone
> On 28 Apr 2018, at 12:36, xarkes ***@***.***> wrote:
>
> Because no one needed it until you today :p
> So if we add that to r2pm and documentation to cross compile with wine,
then it's all good, we can remove MinGW support?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9973 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMZ_V6xnD8LbY_rWgClvzXKYVnnSFk0ks5ttM7hgaJpZM4TrO2a>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Windows Subsystem for Linux. But it is available only on Windows 10. |
What about Clang? :) We can use a clang and stuff from MinGW like headers and libraries. |
You can use clang with meson+ninja build system. Just do |
Meson doesn't support clang on Windows. |
If you want to cross compile, couldn't you just use meson? It has support for that built in already, so if we drop support for mingw in acr it would still be possible without us having to maintain anything. (except maybe details in the source code that may be incompatible with mingw). |
I don't agree this suggestion. on the contrary, radare should support Mingw32/Mingw64 and cygwin better. |
@virteman Could you please explain why? If you are using Windows, you surely have Visual Studio installed, why would you use mingw or cygwin rather than the official VS tools? |
my reasoning is that i prefer opensource than closed source compilers. but its true that cygwin is a mess and mingw is pretty badly maintained which ends up with unsync headers with windows, wrong structs, missing function signatures and weird crashes that we have to fix in our side with “dlopen/dlsym” and other ugly hacks. which was the reason to switch to msvc
… On 18 Oct 2018, at 15:45, xarkes ***@***.***> wrote:
@virteman <https://github.com/virteman> Could you please explain why? If you are using Windows, you surely have Visual Studio installed, why would you use mingw or cygwin rather than the official VS tools?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#9973 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA3-lldyU2uUKG3ieJ3wR7ghDhwzbTnKks5umIXqgaJpZM4TrO2a>.
|
@xarkes cygwin can be used connect windows via ssh,then I can use linux terminal run r2 other than window's cmd.exe which is a ugly termal without some keybind as linux terminal. |
There are many replacements for Windows cmd.exe, including WSL. |
Probably the biggest problem of all this is that e cant support all those targets with a single build. So window users will be confused again with 4 different zips to download and the problem is that they will behave wrongly depending on how you run them.. so its not just a development problem |
@pelijah by the way, meson support for clang-cl is improving steadily and only some minor parts are now unsolved. See these bugs for keeping the track: |
Resolved by bb67b54 |
Since we now have native MSVC support it is just an additional burden to support Mingw32/64, and some code can be cleaned. So please discuss. And MSVC 2015 version supports Windows versions higher than Windows XP (including it).
The text was updated successfully, but these errors were encountered: