mingw-w64.net web page contents (The new web page)

  • By null
  • Last update: Dec 28, 2022
  • Comments: 8

MinGW-w64 Website

This website is written in Markdown and gets built to a static website using mkdocs and a modified version of the mkdocs-material theme. The main branch of this repo is the source branch and any new commits will auto deploy a new build to the main branch using a GitHub action. The main branch is connected to GitHub pages and is reachable under https://mingw-w64.github.io and https://www.mingw-w64.org. Changes to the source branch usually take a minute or two until they are live.

Development

For small changes:

  • Just use the online editor on GitHub and use the Markdown preview to inspect your changes
  • Open a PR with your changes in case you don't have commit rights
  • Note: The Markdown dialect and extensions understood by mkdocs and GitHub is slightly different, so double check that the deployed website matches what you expected
  • Note: Every page on the website has a small "edit" icon in the top right corner which leads you straight to the online editor for that page

For larger changes:

  • python3 -m venv _venv
  • source _venv/bin/activate
  • python -m pip install -r requirements.txt
  • python -m mkdocs serve
  • Access http://127.0.0.1:8000 - any changes to the sources should be immediately visible in your browser
  • Open a PR with your changes or just push them if you have commit rights

For dependency changes:

  • poetry shell
  • poetry install
  • ...
  • poetry export --without-hashes -o requirements.txt

Github

https://github.com/mingw-w64/mingw-w64.github.io

Comments(8)

  • 1

    Point mingw-w64.org to this website as well

    @adrien-n I've heard that you are the owner of mingw-w64.org. We've set up a new website using a static site generator here (https://www.mingw-w64.net/) Would it be possible to move mingw-w64.org to the same server? If you need any help/info please let us know. We can also transfer ownership, if that is easier.

  • 2

    Mention https://winlibs.com/ on https://www.mingw-w64.org/

    I have been offering standalone native Windows builds of the latest MinGW-w64 for a while now on https://winlibs.com/ By now quite a community is using these builds. Would you consider mentioning https://winlibs.com/ on https://www.mingw-w64.org/ ?

  • 3

    MinGW-w64-builds is now publishing releases at GitHub

    GitHub repo niXman/mingw-builds-binaries is now holding MinGW-w64-builds with latest version of both MinGW runtime and GCC. The owner of the repo has also claimed that it's an official build (see niXman/mingw-builds-binaries#5).

    So I'd suggest updating the download URL and version table for MinGW-W64-builds in downloads.md. If that's OK, I can make a PR later.

  • 4

    xinput.lib in the MinGW is using DirectX SDK only xinput1_3.dll

    The xinput library that comes with the MinGW toolset is linking to the XINPUT1_3.DLL. This DLL is only installed by the legacy DirectX End-User Runtime, so it's not present on all machines. Also, this DLL has known security issues.

    A better solution is to have libxinput.a link to XINPUT9_1_0.DLL which is present on all Windows machines from Windows Vista forward.

    Alternatively, use XINPUT1_4.DLL which is present on Windows 8.0 or later and is also inbox.

  • 5

    Help my mingW64 has a handicap or my code (help)

    So this is my code (i am trying to make a little joke virus for my friend)

    #include <windows.h> #include #include <time.h> void invertscreen() { int x, y; x = GetSystemMetrics(SM_CXSCREEN); y = GetSystemMetrics(SM_CXSCREEN); while (0 == 0) { int randx, randy; randx = rand() % x + 0; randy = rand() % x + 0; BitBlt(GetDC(NULL),rand() % x + 0, rand() % y + 0, randx + 200,randy+200,GetDC(NULL),randx,randy,NOTSRCCOPY); } }

    int main() { invertscreen(); }

    now once compiling i get this error: c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\mverb\AppData\Local\Temp\cchWKwR9.o:main.cpp:(.text+0xc2): undefined reference to `__imp_BitBlt' collect2.exe: error: ld returned 1 exit status

    if you know please help before i get a handicap :D

  • 6

    Can the developers provide latest mingw-w64 installer?

    I have downloaded the Mingw-w64 (10.0.0) zip. But can't figure out how to install MinGW-w64 from source.

    Please can any body provide the steps of how to build mingw-w64 from source in a Windows system.

    Or it will be better if the MinGW-w64 developer team would provide a installer for windows, containing the latest version of GCC (12.1.0)?

  • 7

    Mention Homebrew on downloads page

    Homebrew (https://brew.sh) offers mingw-w64 for both macOS (Intel and ARM) and Linux. It has the latest version (including GCC 12.2.0), and also a package for makensis.

    Installation is made with brew install mingw-w64.

  • 8

    Argument list too long

    Hello, I tried to compiled a c code and at the linking stage i get the error "Argument list too long". I tried to increase ulimit but still not working. Is there a way to fix that ?

    Thansk for helping.