YAML is a data serialization format designed for human readability and interaction with scripting languages. LibYAML is a YAML parser and emitter written in C.
The library is available as 32-bit and 64-bit:
- If you are compiling a 32-bit program, no special compiler options are needed.
- If you are compiling a 64-bit program, you have to compile and link your application with "cc -q64" or "gcc -maix64".
- I have built python with
xlc_r and thus anytime you want to build a python C extension it uses the compiler command line that was used to build python. Of course, this is only helpful if you actually have the same compiler!
- If you want to use GCC instead you need to use it in this fashion:
$ export LDSHARED="/opt/freeware/lib/python2.6/config/ld_so_aix gcc -bI:/opt/freeware/lib/python2.6/config/python.exp"
$ export CC="gcc"
$ python setup.py build