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 xe...@xml.apache.org on 2004/07/22 22:08:17 UTC

[jira] Updated: (XERCESC-1244) Support gcc/g++ compilers on HP-UX.

The following issue has been updated:

    Updater: Alberto Massari (mailto:amassari@progress.com)
       Date: Thu, 22 Jul 2004 1:08 PM
    Changes:
             summary changed from Support gcc/g++ compilers on gcc to Support gcc/g++ compilers on HP-UX.
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESC-1244?page=history

---------------------------------------------------------------------
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 HP-UX.
       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: Thu, 22 Jul 2004 1:08 PM
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org