Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Sent: 25 Aug 2002 04:47:27 GMT Message-ID: <005701c24bf2$8362e320$0200a8c0@TCS012593> From: "Abraham Backus" To: References: <20020823154437 DOT 6154 DOT h011 DOT c000 DOT wm AT mail DOT backus DOT com DOT criticalpath DOT net> <11729030690 DOT 20020825033931 AT familiehaase DOT de> Subject: Re: Xerces C++ support in cygwin Date: Sat, 24 Aug 2002 21:47:26 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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" To: Cc: 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/