Files
bacnet_stack/ports/win32/README.md
T
Steve Karg c02a8281a7 Cleanup win32 build warnings (#431)
* Cleanup win32 build warnings

* Add README for MinGW32 build under Windows

---------

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
2023-05-13 15:13:15 -05:00

36 lines
531 B
Markdown

# Makefile build under MinGW32
* MSYS2 installation is:
c:\> winget install --id=MSYS2.MSYS2 -e
* Start MSYS, and install MinGW32.
$ pacman -Syu mingw-w64-i686-toolchain
* Edit ~/.bashrc file and add:
alias make=mingw32-make.exe
* Exit MSYS.
* Start MSYS profile for MinGW32.
* Verify MSYS profile:
$ uname
MINGW32_NT-10.0-19045
* Verify GCC is targeting i686:
$ gcc -dumpmachine
i686-w64-mingw32
* Verify make is built for Windows32:
make --version
Built for Windows32