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 Rajaram Kudli <rk...@ptc.com> on 2001/11/01 08:09:41 UTC

Compiler flags

Hi All,

Is there any way of knowing what were the compiler options with which
the  SOs on the site were built ?

I'm particularly interested in  xerces-c1_5_2.so  ,  Solaris version.

thanks,

-RR

Re: Compiler flags

Posted by Tinny Ng <tn...@ca.ibm.com>.
Rajaram Kudli wrote:

> Hi All,
>
> Is there any way of knowing what were the compiler options with which
> the  SOs on the site were built ?
>

The binaries are prepared by running the script packageBinaries.pl against the
source package on the designated platform.  So you can use the same script to
reproduce the Makefiles.  And by looking at the Makefile, you can tell what
the compiler options were.

>
> I'm particularly interested in  xerces-c1_5_2.so  ,  Solaris version.
>

For Solaris:
compiler:
CC -KPIC -mt -xs -ptr./xerces-c-src1_5_2/obj/SOLARIS -features=rtti
-DSOLARIS -D_REENTRANT -c -O -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET  -I./xerces-c-src1_5_2/include
-I./xerces-c-src1_5_2/src  -o ./xerces-c-src1_5_2/obj/SOLARIS/XUtil.o
XUtil.cpp

link:
CC -DSOLARIS -G
-ptr/export/home4/xmlbuild/xml4c_root/xerces-c-src1_5_2/obj/SOLARIS  -o
./xerces-c-src1_5_2/lib/libxerces-c1_5_2.so
:
./xerces-c-src1_5_2/obj/SOLARIS/sax2Dummy.o    -mt -lpthread -lnsl
-lsocket


Tinny



>
> thanks,
>
> -RR
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org