@@ -42,7 +42,7 @@ unpacked the source archive):
42
42
You probably need to be root when doing the last command.
43
43
44
44
If 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.
46
46
47
47
Get a full listing of all available configure options by invoking it like:
48
48
@@ -307,6 +307,16 @@ first to rebuild every single library your app uses as well as your
307
307
app using the debug multithreaded dynamic C runtime.
308
308
309
309
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
+
310
320
### MingW32
311
321
312
322
Make 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
339
349
dynamic import symbols.
340
350
341
351
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
+
342
372
IBM OS/2
343
373
--------
344
374
@@ -418,20 +448,25 @@ This is a probably incomplete list of known hardware and operating systems
418
448
that c-ares has been compiled for. If you know a system c-ares compiles and
419
449
runs on, that isn't listed, please let us know!
420
450
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)
429
464
430
465
431
466
Useful URLs
432
467
===========
433
468
434
469
- c-ares: https://c-ares.org/
435
- - MingW: http://www.mingw.org/
436
470
- MinGW-w64: http://mingw-w64.sourceforge.net/
471
+ - MSYS2: https://msys2.org
437
472
- OpenWatcom: http://www.openwatcom.org/
0 commit comments