Skip to content

Windows

Colin Cogle edited this page Nov 4, 2024 · 3 revisions

aprs-weather-submit on Windows

It works!

System Requirements

The binary release requires Windows Vista, Windows Server 2008, or newer. This is because of my code's requirement for WinSock2.

For all 16-bit and 32-bit versions of Windows XP, Windows Server 2003, and older, use the MS-DOS build.

Architectures

The binaries are compiled for x86 and x64 versions of Windows. Both binaries are for Intel processors (x86 and x64/x86S), and would need to run under emulation on ARM.

While I'm sure this app will compile on ARM just fine, I don't have the tools, resources, or knowledge to set up a development environment for that. If you know how (or want to compile the code for me), let me know!

Roadmap

Would it be possible to change my code to compile on older versions of Windows? I wouldn't be opposed to including support for older versions of Windows, with proper #ifdefs in place.

Compilation Instructions

Sometimes I forget, too. The Makefiles won't work, and neither will make.bat (that requires OpenWatcom). Install some form of GCC and do something like this:

C:\> C:\mingw32\bin\gcc -O0 -g3 -pipe -DHAVE_APRSIS_SUPPORT -DDEBUG src\*.c -lm -lws2_32 -o aprs-weather-submit_x86+debug.exe
C:\> C:\mingw32\bin\gcc -O3 -s -fomit-frame-pointer -pipe -DHAVE_APRSIS_SUPPORT src\*.c -lm -lws2_32 -o aprs-weather-submit_x86.exe
C:\> C:\mingw64\bin\gcc -O0 -g3 -pipe -DHAVE_APRSIS_SUPPORT -DDEBUG src\*.c -lm -lws2_32 -o aprs-weather-submit_x64+debug.exe
C:\> C:\mingw64\bin\gcc -O3 -s -fomit-frame-pointer -pipe -DHAVE_APRSIS_SUPPORT src\*.c -lm -lws2_32 -o aprs-weather-submit_x64.exe
Clone this wiki locally