There are a number of options available when choosing tools
to build an Apache module for MPE/iX. Some of these tools are open
source tools from the GNU Project, a provider of free software.
The GNU tools are used on many operating system platforms for development
of open source code, including MPE/iX.
Module compilations on MPE/iX can be done with the GNU C compiler, gcc,
or with the MPE/iX POSIX compiler, c89. HP
recommends using gcc for compiling open source
modules since most open source code is designed for compilation
by gcc. For example, Apache for MPE/iX is
compiled with gcc. Use c89 when
calling MPE/iX intrinsics or using long pointers.
When using a Makefile to build a module,
it can be executed with GNU make or with
the MPE/iX POSIX make. GNU make is
recommended for executing a Makefile created
by apxs since this file is generated by open
source code. The GNU tools' installation script installs GNU
make in /usr/local/bin/make. MPE/iX make resides in /bin/make.
Modules can be lined with GNU ld or
with the MPE/iX LinkEditor. HP recommends
using LinkEditor for linking Apache modules
since the LinkEditor creates shared libraries
that work well with dynamic loading.
Make, gcc, and ld are
part of the GNU tools which are downloadable from http://jazz.external.hp.com/src/gnu/gnuframe.html. Support contracts for gcc are
available from http://www.gccsupport.com. LinkEditor, c89 and /bin/make are supported by HP.
The Apache C header files are required when compiling an Apache
module. These header files are distributed with the Apache product
and reside in /APACHE/PUB/include.