On the TRU64 platform, the samples were always compiled with cxx, which
leads to linker errors if the library itself was compiled with g++.
Following patch fixes this:
enjoy
-r2r-
===============================================================================
diff -c new/samples/Makefile.incl xerces-c-src_2001-06-12/samples/Makefile.incl
*** new/samples/Makefile.incl Tue Jun 12 01:54:52 2001
--- xerces-c-src_2001-06-12/samples/Makefile.incl Wed Jun 13 14:30:20 2001
***************
*** 249,256 ****
#=============== TRU64 SPECIFIC OPTIONS =========================
ifeq (${PLATFORM}, TRU64)
CMP= -c ${CXXFLAGS}
! CC = cxx -c -D${PLATFORM}
! LINK = cxx -D${PLATFORM}
PLATFORM_LIB_LINK_OPTIONS=-L/usr/lib -L/usr/local/lib
SHLIBSUFFIX=.so
endif
--- 249,256 ----
#=============== TRU64 SPECIFIC OPTIONS =========================
ifeq (${PLATFORM}, TRU64)
CMP= -c ${CXXFLAGS}
! CC = ${COMPILER} -c -D${PLATFORM}
! LINK = ${COMPILER} -D${PLATFORM}
PLATFORM_LIB_LINK_OPTIONS=-L/usr/lib -L/usr/local/lib
SHLIBSUFFIX=.so
endif
===============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]