#mingw — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #mingw, aggregated by home.social.
-
Ich versuche mich gerade ein bisschen daran, ob man das nicht auch unter #Linux kompilieren kann. Nativ wird das nix, aber mit #MinGW sollte man das schon Crosskompilieren können, dass man ne EXE bekommt ohne ne VM anschmeißen zu müssen.
#Minecraft
https://archive.org/details/ytdown.com-you-tube-how-to-compile-minecraft-legacy-edition-media-g-q-csz-p-um-0-001-1080p -
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:
-
Did you know that the #XLibre #X11 server is now built on 7 different operating system environments including #mingw, #macOS, #FreeBSD, #DragonflyBSD, and #NetBSD? Thanks
@XLibreDev. This is what "actively maintained" looks to me. -
I hate the #CPlusPlus #Make #Mingw ecosystem.
Following the readme, and it still won’t 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
-
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
-
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
-
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 году), но до сих пор используется повсеместно: в играх, браузерах, операционных системах, автомобилях и даже в искусственном интеллекте! В этой статье мы установим все инструменты для С++!
-
Настройка отладки C++ проекта через GDB в VSCode
Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .
https://habr.com/ru/articles/918878/
#c++ #vscode #mingw #c++_compiler #компилятор #настройка
-
Настройка отладки C++ проекта через GDB в VSCode
Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .
https://habr.com/ru/articles/918878/
#c++ #vscode #mingw #c++_compiler #компилятор #настройка
-
Настройка отладки C++ проекта через GDB в VSCode
Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .
https://habr.com/ru/articles/918878/
#c++ #vscode #mingw #c++_compiler #компилятор #настройка
-
Настройка отладки C++ проекта через GDB в VSCode
Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .
https://habr.com/ru/articles/918878/
#c++ #vscode #mingw #c++_compiler #компилятор #настройка
-
Руководство по сборке Qt под Windows из исходников с MinGW
Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.
-
Руководство по сборке Qt под Windows из исходников с MinGW
Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.
-
Руководство по сборке Qt под Windows из исходников с MinGW
Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.
-
Я тут немного упоролся и начал собирать всякие dev-версии программ на golang в #mingw и закидывать готовые бинарники и прочие ресурсы на vps и недосервер. И вот это недоразумение там внезапно работает.
Ерундой такой начал заниматься из-за того, что компьютер с MinGW банально мощнее и собирает программы быстрее.
Я так уже #gotosocial и #gitea попробовал собрать, и всё работает.
Такие дела.
-
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.
-
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/ -
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.
-
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.
-
I can neither confirm, nor deny that this is a running #win32 port of #DOjS. Please move on, there is nothing to see (because it does not yet start on #Win98)...
#Javascript #RetroComputing #CreativeCoding #processing #p5js #mingw
-
@krishean I've had somewhat of a success with creating the gcc using this script I cobbled together:
https://gist.github.com/SuperIlu/1f0ed930d907442c0fcb2566f7e63ae9The 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.. -
This weekend I tried to compile #Allegro for #Win9x with #mingw.
I was able to get the examples running on #Win10, but when I copied them over to my #Win98 box they crashed with an illegal instruction.
That happened because mingw on #Ubuntu 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/
-
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
-
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
-
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
-
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
-
I've begun the process of switch Rust's Windows CI to Server 2022, starting with the mingw builders: https://github.com/rust-lang/rust/pull/124562
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...
-
-
Установка 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
-
I've seen lists of #PublicDomain, #unlicense or #CC0 #software before but many seem no longer maintained or available. My own list is at: https://lmemsm.dreamwidth.org/10325.html Would appreciate any #C/C++ code recommendations I may have missed. I'm trying to keep the public domain version of the #win32 #w32api created for #MinGW up-to-date and useful. Would love to collaborate with others on it. #OpenSource #FLOSS #FOSS #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!
-
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!
-
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!