Running the C API Examples on UNIX Linux AIX HP UX
Procedure
Use a text editor to edit the
Makefile.mk file provided with the TIBCO ActiveSpaces C example programs.
The Makefile is located in the
/AS_HOME/examples/c directory.
Locate the line that reads:
CC=<compiler>
For UNIX, this line reads
CC = CC; for Linux,
CC = gcc; for AIX, it reads
CC = xlC; for HP-UX,
CC = aCC.
Change the line to read:
CC= <path>/<compiler>
where
path is the path to the C compiler that you are using and compiler is the compiler name.
Save the file.
Enter the name of the executable file for the example you wish to run, followed by any command line arguments. For example, to run ASChat, enter
ASChat.