Q: On what OS does AAIO work?
A: AAIO should work on any POSIX compliant OS running a terminal that correctly emulates a serial terminal. AAIO is known to work on the following OSs:
if you successfully use AAIO on any other OS please let me know.
Q: Can I use AAIO with XCode on Mac OS X?
A1: The answer is both yes and no. Assuming you are building a C++ tool in XCode you can include aaio in your project by adding the aaio.h and aaio2.c file to your project. This should make your code compile. However the "terminal" in which XCode runs its C++ tool targets when you run the project from within XCode is not a compliant terminal and it is therefor not possible to change the mode of the "terminal".
To solve that you must build your project in XCode but run it from a Terminal.app session (or an xterm if you use X11). You can locate your binary in /PATH_TO_YOUR_PROJECT/build/NAME_OF_EXECUTABLE.
A2: You can also build the AAIO as "usual" and install it in say /usr/local (the default), you can then
include aaio.h in your project and add libaaio.a as a library in your project.