home.social

#mingw — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mingw, aggregated by home.social.

  1. 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
  2. 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:

  3. Did you know that the server is now built on 7 different operating system environments including , , , , and ? Thanks
    @XLibreDev. This is what "actively maintained" looks to me.

  4. I hate the #CPlusPlus #Make #Mingw ecosystem.

    Following the readme, and it still won’t build.

  5. Update for #RunCPM v6.7 #Windows
    Starterpack 32&64Bit

    - compiled with #MinGW GCC v15.2.0r1 MSVCRT
    - Fix for abstraction_vstudio.h
    (maybe unused by compile with MinGW-Compiler)

    Get it at
    github.com/guidol70/RunCPM_Win

  6. I'm working on building the server natively on using . 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 and 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?

  7. 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

  8. 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

  9. 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

  10. C++ для самых маленьких: Введение в программирование на С++. Часть 1

    C++ — это язык программирования, который был создан как улучшенная версия языка C. Он появился очень давно (в 1985 году), но до сих пор используется повсеместно: в играх, браузерах, операционных системах, автомобилях и даже в искусственном интеллекте! В этой статье мы установим все инструменты для С++!

    habr.com/ru/articles/919330/

    #c++ #gcc #g++ #vscode #mingw #msvc #c #compiler

  11. Настройка отладки C++ проекта через GDB в VSCode

    Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .

    habr.com/ru/articles/918878/

    #c++ #vscode #mingw #c++_compiler #компилятор #настройка

  12. Настройка отладки C++ проекта через GDB в VSCode

    Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .

    habr.com/ru/articles/918878/

    #c++ #vscode #mingw #c++_compiler #компилятор #настройка

  13. Настройка отладки C++ проекта через GDB в VSCode

    Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .

    habr.com/ru/articles/918878/

    #c++ #vscode #mingw #c++_compiler #компилятор #настройка

  14. Настройка отладки C++ проекта через GDB в VSCode

    Если вы работаете над собственными библиотеками на C++, особенно такими, где важна строгая типизация и предсказуемое поведение компилятора, то наверняка сталкивались с ситуацией, когда Microsoft Visual Studio (MSVS) сама "подчищает" за вами типы или подключает лишние зависимости. Иногда это удобно, но при разработке низкоуровневого кода это может мешать. В этой статье я расскажу, как перейти с MSVC на MinGW , правильно настроить CMake и использовать GDB для отладки вашего C++-проекта прямо в Visual Studio Code .

    habr.com/ru/articles/918878/

    #c++ #vscode #mingw #c++_compiler #компилятор #настройка

  15. Руководство по сборке Qt под Windows из исходников с MinGW

    Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.

    habr.com/ru/articles/917252/

    #qt #windows #mingw #mingww64 #qt5 #qt6 #mingw64

  16. Руководство по сборке Qt под Windows из исходников с MinGW

    Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.

    habr.com/ru/articles/917252/

    #qt #windows #mingw #mingww64 #qt5 #qt6 #mingw64

  17. Руководство по сборке Qt под Windows из исходников с MinGW

    Официальный способ установки готовых бинарников Qt - через онлайн инсталлятор. Однако он требует обязательной регистрации. Да еще и недоступен на территории РФ. Есть и другие способы получить бинарники, или собрать с компилятором от Microsoft , однако не всегда эти способы приемлемы. Сборка из исходников под Windows может оказаться несколько нетривиальна для новичков, потому сделал небольшую инструкцию по сборке Qt 5 и Qt 6. А так же рассмотрена базовая настройка QT Creator.

    habr.com/ru/articles/917252/

    #qt #windows #mingw #mingww64 #qt5 #qt6 #mingw64

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

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

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

    Такие дела.

    #linux #soft

  19. 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

  20. 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

  21. 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

  22. I've been checking out how projects like -w32, and 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 projects with .

  23. 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.

  24. 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

  25. @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..

    #mingw #win98 #allegro #RetroComputing

  26. 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 #win98 with #mingw?
    Am I missing something obvious?

    3/

  27. 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/

  28. #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.

  29. 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

  30. Reddit tells me that #MSYS2 is one of the more comprehensive and up-to-date distributions of #MinGW-w64, so i'm gonna use that.

    the funny thing about this one is that it uses regular pacman

    (neofetch came by default - that was not my doing!)

  31. Установка GCC в сборке MinGW

    Установка коллекции компиляторов GCC (GNU Compilers Collection) в Windows и первичная настройка для дальнейшей работы.

    habr.com/ru/articles/794630/

    #C #C++ #D #Ada #mingw #mingw32 #mingww64 #mingw64

  32. @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.
    [...]

  33. Сортировка Конфигов для Make Сборок

    Как известно любая большая программа на Си содержит много программных компонентов и, как следствие, много настроек: констант, макросов, конфигурационных структур и прочего. Всё это можно назвать одним словом: конфиги . Все передают конфиги по-разному. В этом тексте представлен способ передавать конфиги через скрипты сборки.

    habr.com/ru/articles/745244/

    #sort #make #GNU_make #GNU #cygwin #config #mingw #mcu #C #си

  34. Сортировка Конфигов для Make Сборок

    Как известно любая большая программа на Си содержит много программных компонентов и, как следствие, много настроек: констант, макросов, конфигурационных структур и прочего. Всё это можно назвать одним словом: конфиги . Все передают конфиги по-разному. В этом тексте представлен способ передавать конфиги через скрипты сборки.

    habr.com/ru/articles/745244/

    #sort #make #GNU_make #GNU #cygwin #config #mingw #mcu #C #си

  35. Have several libraries that are on my list for updating build scripts. It's kind of like but cross-platform. Would be curious if anyone else builds their 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.

  36. I've seen lists of , or before but many seem no longer maintained or available. My own list is at: lmemsm.dreamwidth.org/10325.ht Would appreciate any /C++ code recommendations I may have missed. I'm trying to keep the public domain version of the created for up-to-date and useful. Would love to collaborate with others on it.

  37. 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!

  38. 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!

  39. 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!