#mingw — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #mingw, aggregated by home.social.
-
Last week I was a little annoyed about missing Microsoft C++ Build Tools #MSVC on a system without admin rights. I needed a compiler for building the #python C++ extension I developed a while ago. Annoyed not because I could not ask someone to install it for me, but annoyed because of the lack of compiler choices in this particular case. I have to use the MSVC instead of let's say #g++ which I could easily install via the #MinGW-w64 #conda package myself.
I found out that I can tell #setuptools (the backend build system) via #pip config settings to use a different compiler during build:
-
I'm working on building the #Xorg server #XWin natively on #Windows using #MinGW. I have a 32 bit version that works fine and I'm attempting to get a 64 bit version built. I know there are a few other projects like #XMing and #VcXsrv that also have native builds of the Xorg server. I need XWin for work where I'm limited to using a Windows machine and trying to Xforward information to it. Is anyone else using XWin or interested in using an X server on Windows? #AskFedi
-
C++ для самых маленьких: Введение в программирование на С++. Часть 1
C++ — это язык программирования, который был создан как улучшенная версия языка C. Он появился очень давно (в 1985 году), но до сих пор используется повсеместно: в играх, браузерах, операционных системах, автомобилях и даже в искусственном интеллекте! В этой статье мы установим все инструменты для С++!
-
Руководство по сборке Qt под Windows из исходников с MinGW
Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.
-
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: https://github.com/duckdb/duckdb/issues/13911
- First bad commit: https://github.com/duckdb/duckdb/commit/d1ea1538c9217fb536485f1500f04a0b55b1e584
- Julia discussion: https://discourse.julialang.org/t/debugging-could-not-load-symbol-from-jll-package/125340/ -
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.
-
Sure, but #Windows is still an Achilles Heal for the #AutoTools, unless you use #MinGW & #MSYS:
“What Autoconf Got Right”, Leah Neukirchen (https://leahneukirchen.org/blog/archive/2024/04/what-autoconf-got-right.html).
Via HN: https://news.ycombinator.com/item?id=40544336
On Lobsters: https://lobste.rs/s/ebnqzl/what_autoconf_got_right
-
Установка GCC в сборке MinGW
Установка коллекции компиляторов GCC (GNU Compilers Collection) в Windows и первичная настройка для дальнейшей работы.
-
@wader I think I can add a bit of explanation here. MSVCRT.DLL (as a "standard C library") was included with windows for a long time, but they quickly ran into issues with it, most likely caused by not having sane mechanisms for versioning. So, what they did was including a C runtime with each release of their compiler (#MSVC) and expect this runtime to be redistributed with software using it. MSVCRT.DLL had its public API/ABI frozen in a state with #C89 and partial(!) #C99 support and was declared "private" to the OS.
#Mingw (which is also distributed by #MSYS2) nevertheless continued linking to MSVCRT.DLL (and I see why, it's really stupid to have tons of copies of the C runtime ...). So, while the compilers support newer C standards, the standard lib doesn't, and therefore you need quite some hacks and workarounds. And I wouldn't be surprised to find lots of funny misbehavior, that's why I think the issue might indeed be the strftime() from MSVCRT.DLL.
[...] -
Сортировка Конфигов для Make Сборок
Как известно любая большая программа на Си содержит много программных компонентов и, как следствие, много настроек: констант, макросов, конфигурационных структур и прочего. Всё это можно назвать одним словом: конфиги . Все передают конфиги по-разному. В этом тексте представлен способ передавать конфиги через скрипты сборки.
https://habr.com/ru/articles/745244/
#sort #make #GNU_make #GNU #cygwin #config #mingw #mcu #C #си
-
Сортировка Конфигов для Make Сборок
Как известно любая большая программа на Си содержит много программных компонентов и, как следствие, много настроек: констант, макросов, конфигурационных структур и прочего. Всё это можно назвать одним словом: конфиги . Все передают конфиги по-разному. В этом тексте представлен способ передавать конфиги через скрипты сборки.
https://habr.com/ru/articles/745244/
#sort #make #GNU_make #GNU #cygwin #config #mingw #mcu #C #си
-
Have several libraries that are on my list for updating build scripts. It's kind of like #BLFS but cross-platform. Would be curious if anyone else builds their #FLOSS libraries and programs from scratch and if anyone would like to compare notes on doing so. The code I work with seldom compiles out of the box without patches. Would be nice to share steps and patches with others similar to what the BLFS project does. #OpenSource #FOSS #MinGW #C #FreeSoftware
-
Smacked head-first into a stupid issue with the #libcurl package deployed by #MinGW / #MSYS / #MinGW64 - turns out that if you copy the DLLs out of the MinGW environment (you know, like if you want to actually *deploy* an application that uses them), libcurl suddenly starts freaking out about "SSL CA cert" problems.
Someone on StackOverflow noticed there's an alternate "mingw-w64-x86_64-curl-winssl" package that doesn't seem to suffer from this issue (which I confirmed). What a damned mess!