You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Ar...@computer.org on 2001/06/13 23:44:35 UTC
Patch: Xerces 1.5 samples with g++ compiler
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org