I haven't upgraded my version of OpenDX for some time, but I've been compiling
loadables on IRIX 6.5.5m for a long time. Here's a sample of the compile lines I
use:
BASE = /usr/local/dx
BIN = $(BASE)/bin
LINK = ld
CFLAGS = -I$(BASE)/include -Dsgi -g
LIBS = -lm -lc
LDFLAGS = -shared -e DXEntry -U -exported_symbol DXEntry
./bin/ExportStructure: ./src/ExportStructure.o ./src/pdb_writer.o
$(BIN)/mdf2c -m ./src/ExportStructure.mdf > user.c
cc $(CFLAGS) -c user.c
$(LINK) $(LDFLAGS) ./src/ExportStructure.o\
./src/pdb_writer.o user.o $(LIBS) -o ./bin/ExportStructure
Richard Gillilan
Cornell Theory Center