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


Awesome!  I'm kinda new about what's expected of cygwin software with regard
to what files are needed where.  I discovered though that after everything
is built, if I put libxerces.dll into /usr/local/bin and then put a symlink
to it in /usr/local/lib that everything builds ok.  That seems odd and it
"worked" for my one test app that I've been working on, but it just didn't
seem right because any other dll that my apps link to seemed to have a
.dll.a file in the lib directory.

Thanks again!
-Abe

----- Original Message -----
From: "Gerrit P. Haase" <gp@familiehaase.de>
To: <abraham@backus.com>
Cc: <cygwin@cygwin.com>
Sent: Saturday, August 24, 2002 6:39 PM
Subject: 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/
>
>


--
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]