#mingw

2025-05-31

Я тут немного упоролся и начал собирать всякие dev-версии программ на golang в #mingw и закидывать готовые бинарники и прочие ресурсы на vps и недосервер. И вот это недоразумение там внезапно работает.

Ерундой такой начал заниматься из-за того, что компьютер с MinGW банально мощнее и собирает программы быстрее.

Я так уже #gotosocial и #gitea попробовал собрать, и всё работает.

Такие дела.

#linux #soft

Rachel Wil Singh ~ Moos-a-deeMoosader@mastodon.gamedev.place
2025-02-18

At the beginning of the semester I had students install g++ and gdb via the MinGW installer.

Now that we're using gdb in an assignment, one student's gdb isn't recognizing the executable file they built using "g++ -g blah.cpp" and such.

It is giving "not in executable format: file format not recognized" - which seems like an x64/x86 mismatch? Haven't seen this problem with any other students yet.

#gdb #mingw

2025-02-15

Hey, People I need help.
So.. I need help with colider(at codeberg.org/samedev/colider) and I need help porting it to windows.

Requirements:
- using codeberg for a while
- know C
- Knows the Win32 API

keep it in the main.c file

2025-02-12

What are the mechanisms that control exported symbols when cross-compiling a shared library for Windows using MingW? The latest build of DuckDB (our dependency) fails to export the C-API symbols (but the symbols from other objects are present). The first bad commit doesn't seem to change anything with the build. Where can we look next?

- Issue: github.com/duckdb/duckdb/issue
- First bad commit: github.com/duckdb/duckdb/commi
- Julia discussion: discourse.julialang.org/t/debu

#MinGW #DuckDB #CAPI #Windows #DLL

2025-01-25

I've been checking out how projects like #Busybox-w32, #msys and #GNUWin32 handle links in their utility programs like ln & ls. The comparison is very interesting. I really like Busybox-w32's use of hard links and how they show up with ls -i. They've done a wonderful job getting Busybox working on Windows. I'm investigating if Busybox-w32 can be used in place of msys when building #FLOSS #C projects with #mingw.

Prema Marsikprema@hachyderm.io
2024-12-04

Trying to figure out why mingw32-make works on one PC and not on another with pretty equivalent config took me whole afternoon yesterday and part of this morning.
To no avail … I guess I can live this and move the PC to the lab to start doing experiments. I can still build on my office PC. 🤖

#c #windows11 #mingw

2024-11-08

Для импортозамещения нужно взять старую программу на смеси C с C++ и собрать под mingw.
Кучи вещей в mingw нет, но уверен, что в стандартной библиотеке C++ это всё есть Например, fts.h. И можно было бы просто чисто написать на C++.
Но я переписывать не буду, просто выкину это всё из программы, всё равно это те её куски, которые для импортозамещения не особо-то и нужны. #mingw #импортозамещение

SuperIludec_hl
2024-10-04

I can neither confirm, nor deny that this is a running port of . Please move on, there is nothing to see (because it does not yet start on )...

screenshot of a powershell window, an explorer window and an application window. all showing DOjS.
The console shows debug output, the explorer the EXE and the DLLs and the application window an abstract pattern of grey boxes
SuperIludec_hl
2024-10-02

@krishean I've had somewhat of a success with creating the gcc using this script I cobbled together:
gist.github.com/SuperIlu/1f0ed

The resulting binary runs fine on VBox and 86box.
It bluescreens on my AMD K6-II machine. But that seems to be a little wonky, so I'll re-check on another machine later..

86box displaying a retro GUI86box showing depends running in full screen displaying the dependencies of exgui.exe86box config showing an AOpen mainboard with a Pentium 133 and 32MiB RAM86box showing a S3 Trio64 graphics card
SuperIludec_hl
2024-09-29

I'm hitting a bit of a wall here. Other sources tell me these DLLs are part of the VSC 2015 redist, but that is not available for win98!

Is there a way to target with ?
Am I missing something obvious?

3/

SuperIludec_hl
2024-09-29

This weekend I tried to compile for with .
I was able to get the examples running on , but when I copied them over to my box they crashed with an illegal instruction.
That happened because mingw on is targeting i686 and I have an AMD K6-II in my test rig.
Then I tried compiling mingw myself with i386 as a target, that failed because the 386 is missing an instruction that is needed by the runtime library.
I got it working with i486, though.

1/

2024-09-15

I'm using #debian for crosscompiling #C / #CPP sources for different targets and it works fine.
But it needs one full compiler setup per target (x64, x86, arm, arm64, win32, win64, wasm)

And there is also #alpine and #musllibc ... so I need another setup ... again.

#zig just comes with one setup and supports #gnu musl #mingw #wasm for all current cpu's.

As long as no platform-specific libs are required, this is so perfectly simple.

So my next build env will be:
:zig: #ziglang on ⛷️ alpine

2024-07-03

#Wine está bien para software antiguo o que nunca tuvo intención de tener una versión para #GNU. Software que pretende ser multiplataforma debería descartar Wine y utilizar la API nativa que además tiene mejor soporte en Windows del que Wine (puede) ofrece(r) en GNU gracias a #MinGW y #Cygwin.

2024-06-25

PSA: if you're using #wxWidgets master with #MinGW and getting new link errors, you probably need to add gdiplus.lib and msimg32.lib to the list of libraries you're linking with, due to the removal of the wrapped previously used to load GDI+ functions during run-time.

2024-06-17

I have finally implemented all required #WebView2 interfaces in #C and have now my own #browser control which also compiles on #MinGW.

Without a ready-to-use SDK, 'WebView2Loader.dll` and `CreateCoreWebView2EnvironmentWithOptions` is the secret point to start with.
Fortunately, methods were quite comparable to the old #ActiveX browser control I already did know.

If Microsoft invents a new browser API every 10 years I have at least 5 years before I need to adapt my code to the next standard 😁

Dirk Schnelle-Walkadsw@mastodontech.de
2024-06-04

Trying to compile my #opensource project with #visualstudio instead of #qtcreator on #linux

Why is the world under Windows to Linux so much different for #cmake ?

I spent too much time to find a solution for the non-existing #pkgconfig under this environment. Finally #mingw saved me and an adaptation of the path setting.

रञ्जित (Ranjit Mathew)rmathew
2024-06-02
Daniel Paoliello :rust:TehPenguin@hachyderm.io
2024-05-06

I've begun the process of switch Rust's Windows CI to Server 2022, starting with the mingw builders: github.com/rust-lang/rust/pull

This was tried a couple of years ago, but there some issues with mingw - so kudos to the folks that investigated and fixed those (sorry that I don't have links)!

Next step, the MSVC builders, which will require bumping the version of Clang that's used to build LLVM first...

#RustLang #Rust #windows #mingw

2024-04-26

minma-list ga-noo fer win-dows

#MinGW #midwest

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst