@@ -42,7 +42,7 @@ unpacked the source archive):
4242You probably need to be root when doing the last command.
4343
4444If you have checked out the sources from the git repository, read the
45- [ GIT-INFO] ( GIT_INFO ) on how to proceed.
45+ [ GIT-INFO] ( GIT-INFO ) on how to proceed.
4646
4747Get a full listing of all available configure options by invoking it like:
4848
@@ -307,6 +307,16 @@ first to rebuild every single library your app uses as well as your
307307app using the debug multithreaded dynamic C runtime.
308308
309309
310+ ### MSYS
311+
312+ Building is supported for native windows via both AutoTools and CMake. When
313+ building with autotools, you can only build either a shared version or a static
314+ version (use ` --disable-shared ` or ` --disable-static ` ). CMake can build both
315+ simultaneously.
316+
317+ All of the MSYS environments are supported: ` MINGW32 ` , ` MINGW64 ` , ` UCRT64 ` ,
318+ ` CLANG32 ` , ` CLANG64 ` , ` CLANGARM64 ` .
319+
310320### MingW32
311321
312322Make sure that MinGW32's bin dir is in the search path, for example:
@@ -339,6 +349,26 @@ add `-DCARES_STATICLIB` to your `CFLAGS`. Otherwise the linker will look for
339349dynamic import symbols.
340350
341351
352+ DOS
353+ ---
354+
355+ c-ares supports building as a 32bit protected mode application via
356+ [ DJGPP] ( https://www.delorie.com/djgpp/ ) . It is recommended to use a DJGPP
357+ cross compiler from [ Andrew Wu] ( https://github.com/andrewwutw/build-djgpp )
358+ as building directly in a DOS environment can be difficult.
359+
360+ It is required to also have [ Watt-32] ( https://www.watt-32.net/ ) available
361+ built using the same compiler. It is recommended to build the latest ` master `
362+ branch from [ GitHub] ( https://github.com/sezero/watt32/tree/master ) .
363+
364+ Finally, the ` DJ_PREFIX ` and ` WATT_ROOT ` environment variables must be set
365+ appropriately before calling ` make Makefile.dj ` to build c-ares.
366+
367+ Please refer to our CI
368+ [ GitHub Actions Workflow] ( https://github.com/c-ares/c-ares/blob/main/.github/workflows/djgpp.yml )
369+ for a full build example, including building the latest Watt-32 release.
370+
371+
342372IBM OS/2
343373--------
344374
@@ -418,20 +448,25 @@ This is a probably incomplete list of known hardware and operating systems
418448that c-ares has been compiled for. If you know a system c-ares compiles and
419449runs on, that isn't listed, please let us know!
420450
421- - Alpha Tru64 v5.0 5.1
422- - ARM Android 1.5, 2.1, 2.3
423- - MIPS IRIX 6.2, 6.5
424- - Power AIX 3.2.5, 4.2, 4.3.1, 4.3.2, 5.1, 5.2
425- - i386 Linux 1.3, 2.0, 2.2, 2.3, 2.4, 2.6
426- - i386 Novell NetWare
427- - i386 Windows 95, 98, ME, NT, 2000, XP, 2003
428- - x86_64 Linux
451+ - Linux (i686, x86_64, AARCH64, and more)
452+ - MacOS 10.4+
453+ - iOS
454+ - Windows 8+ (i686, x86_64)
455+ - Android (ARM, AARCH64, x86_64)
456+ - FreeBSD
457+ - NetBSD
458+ - OpenBSD
459+ - Solaris (SPARC, x86_64)
460+ - AIX (POWER)
461+ - Tru64 (Alpha)
462+ - IRIX (MIPS)
463+ - Novell NetWare (i386)
429464
430465
431466Useful URLs
432467===========
433468
434469 - c-ares: https://c-ares.org/
435- - MingW: http://www.mingw.org/
436470 - MinGW-w64: http://mingw-w64.sourceforge.net/
471+ - MSYS2: https://msys2.org
437472 - OpenWatcom: http://www.openwatcom.org/
0 commit comments