Skip to content

compile in PASE IBM i from sources #465

@acerbis

Description

@acerbis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions