This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Xerces C++ support in cygwin


Hallo Abraham,

> I've been able to get xerces c++ to build in cygwin and
> have submitted a couple of patches to enable this.


#=============== CygWin SPECIFIC OPTIONS =========================
ifeq (${PLATFORM}, CYGWIN)
   PLATFORM_COMPILE_OPTIONS = \
           -D__${PLATFORM}__ \            <---------- This is
           -I/usr/include \               <---------- really not
           -I/usr/include/w32api          <---------- neccessary
   MAKE_SHARED = ${CXX} -shared ${LDFLAGS}
   MAKE_SHARED_C = ${CC} -shared ${LDFLAGS}
   ifeq (${TRANSCODER}, ICU)
           ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -L/usr/ccs/lib -licu-uc -licudata -lc
   else
           ALLLIBS = ${LIBS} -L/usr/lib
   endif
   EXTRA_LINK_OPTIONS = \
           -Xlinker --warn-once \
           -Xlinker -Map -Xlinker $(XML_LIB_DIR)/${LIBNAME}${VER}.map \
           -Xlinker --output-def -Xlinker $(XML_LIB_DIR)/${LIBNAME}${VER}.def \
           -Xlinker --out-implib -Xlinker $(XML_LIB_DIR)/${LIBNAME}${VER}.lib

Cygwin import libs should have the suffix '.dll.a' not '.lib'

      SHLIBSUFFIX=.dll
endif


-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]