compiler version for HP UX

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

compiler version for HP UX

Post by attu »

Hi , just wondering what is the command for finding the c++ compiler installed for datastage 7.5.1 from HP-UX command line.
Thanks
sud
Premium Member
Premium Member
Posts: 366
Joined: Fri Dec 02, 2005 5:00 am
Location: Here I Am

Re: compiler version for HP UX

Post by sud »

Use the aCC compiler. Ther is a folder called Samples that ships with the installation. There you will find sample make files for different OS. Other than that, you have to install a compatible compiler for parallel jobs to run, whichever is that compiler is the one you will need to use. Usually your unix admin will know about this.

For your HP UX, here is the sample makefile you can use :

Code: Select all

# =====================================================================
# Example Makefile to build the example transformer external functions
# 
# SOLARIS version, intended for demonstration purposes only.
#
# =====================================================================

TARGETLIB	= libTrxFuncs.so
CODESRC    	= TrxFuncs.c
TARGETOBJ	= TrxFuncs.o

CC          = /opt/aCC/bin/aCC
CCOPTIONS   = -O +z
LIBCC       = $(CC)
LDOPTIONS   = -b

.SUFFIXES: .c .o

# ---------------------------------------------------------------------
# Rules 
# ---------------------------------------------------------------------

all: $(TARGETLIB)

$(TARGETLIB):	$(TARGETOBJ)
	$(LIBCC) $(LDOPTIONS) $(TARGETOBJ) -o $(TARGETLIB)

$(TARGETOBJ): $(CODESRC)
	$(CC) $(CCOPTIONS) -c $(CODESRC) -o $(TARGETOBJ)

clean:
	@rm -f $(TARGETOBJ) $(TARGETLIB)

# ---------------------------------------------------------------------
# End of makefile
# ---------------------------------------------------------------------
:lol:
It took me fifteen years to discover I had no talent for ETL, but I couldn't give it up because by that time I was too famous.
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

Thanks
Post Reply