-
Notifications
You must be signed in to change notification settings - Fork 261
Description
Hello, I've downloaded 5.5 and compiled on a PASE IBM i environment (it's like an AIX POSIX environment , power processor , inside a IBM i system).
Just to inform you, in order to compile it via gcc, I had to define these variables during configure
./configure --prefix=/QOpenSys/usr CC=/QOpenSys/pkgs/bin/gcc CPPFLAGS="-I/QOpenSys/pkgs/include -D_SIGSET_T -DHAVE_STDLIB_H -DIP_RECVTOS=0" CFLAGS="-g -O2"
_SIGSET_T required due to avoid a redefinition (guard) in a double include h on the system.
HAVE_STDLIB_H forced because it wasn't included by the auto configuration.
IP_RECVTOS forced to let it compile (this socket options is missing in this environment like some BSDs).
I just note here in case someone will find this useful on PASE.
BTW such gcc I see define the variable "___PASE__" when run in PASE environment... maybe it is possible to include in the stock sources a conditional def that auto include such vars if __PASE__ is defined? just to streamline the compilation process for this useful tool.
thanks