The Expat package contains a stream oriented C library for parsing XML.
Prepare Expat for 32-bit compilation:
./configure --prefix=/usr \ --libdir=/usr/lib32 \ CC="gcc -m32" CXX="g++ -m32"
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Clean up the build directory before moving on to the next platform:
make clean
Prepare Expat for x32 ABI compilation:
./configure --prefix=/usr \ --libdir=/usr/libx32 \ CC="gcc -mx32" CXX="g++ -mx32"
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Clean up the build directory before moving on to the next platform:
make clean
Prepare Expat for 64-bit compilation:
./configure --prefix=/usr
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
If desired, install the documentation:
install -v -dm755 /usr/share/doc/expat-2.1.0 install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0