Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1244 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1244 Summary: Support gcc/g++ compilers on gcc Type: Improvement Status: Unassigned Priority: Minor Project: Xerces-C++ Versions: 2.5.0 Assignee: Reporter: Chris Olsen Created: Wed, 21 Jul 2004 9:56 AM Updated: Wed, 21 Jul 2004 9:56 AM Environment: HP-UX gcc-3.3.4 Description: Need to support he gcc / g++ compilers on HP-UX. I modified the Makefile.incl and built the package using: ./runConfigure -p hp-11 -c gcc -x g++ -P /home/colsen/tools Things seem to have built fine. Patch for Makefile.incl: diff Makefile.incl Makefile.incl-gcc-support 486,501d485 < else < TEMPLATESREPOSITORY = ${XML_OBJ_DIR}/ptrepository < COMMON_COMPILE_OPTIONS = -D_HP_UX -DXERCES_TMPLSINC \ < -D${OSVERDEFINE} +DAportable +eh +Z -Z +a1 +d < ifeq ($(MODULE), dom) < PLATFORM_COMPILE_OPTIONS = -DDOM_PROJ $(COMMON_COMPILE_OPTIONS) < else < PLATFORM_COMPILE_OPTIONS = $(COMMON_COMPILE_OPTIONS) -ptr${TEMPLATESREPOSITORY} < endif < MAKE_SHARED = $(CXX) $(PLATFORM_COMPILE_OPTIONS) $(XML_INCL) ${LDFLAGS} < MAKE_SHARED_C = $(CC) $(PLATFORM_COMPILE_OPTIONS) $(XML_INCL) ${LDFLAGS} < ifeq (${TRANSCODER}, ICU) < ALLLIBS = ${LIBS} -licuuc -licudata < else < ALLLIBS = ${LIBS} < endif 503,505c487,497 < ifeq (${MESSAGELOADER}, ICU) < ALLLIBS = ${LIBS} -licuuc -licudata -lXercesMessages < endif --- > ## Compiler switch to embed a library name > LD_SONAME = -Wl,+h,${SO_NAME} > endif > > # Support the gcc compiler on HP-UX 11 > ifeq (${CXX}, g++) > MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC ${LDFLAGS} > MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS} > > PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM} > ALLLIBS = ${LIBS} 507d498 < EXTRA_LINK_OPTIONS = -b -Wl,+s -Wl,+b,. -Wl,-a,shared 511,512c502 < ## Compiler switch to embed a library name < LD_SONAME = -Wl,+h,${SO_NAME} --- > --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]