Additional Tcl Build Instructions


AIX 32-Bit

If you follow the build instructions provided by Tcl, the Tcl shell will crash when the oaTcl.so shared library file is loaded. To fix this problem, do the following:

  1. Run the configure script as described in the Tcl installation instructions.

  2. Before issuing the command ‘make’, edit the Makefile and change the lines indicated below:

    change:

    LDFLAGS_OPTIMIZE =

    to:

    LDFLAGS_OPTIMIZE = -brtl

    and for 64-bit builds, also change:

    CFLAGS = $(CFLAGS_OPTIMIZE) -q64 -DTCL_DBGX=$(TCL_DBGX)

    to:

    CFLAGS = $(CFLAGS_OPTIMIZE) -q64 -qlanglvl=ansi -qnoansialias -qlonglong -DTCL_DBGX=$(TCL_DBGX)