| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Sun, 25 Aug 2002 03:39:31 +0200 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <11729030690.20020825033931@familiehaase.de> |
| To: | abraham AT backus DOT com |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: Xerces C++ support in cygwin |
| In-Reply-To: | <20020823154437.6154.h011.c000.wm@mail.backus.com.criticalpath.net> |
| References: | <20020823154437 DOT 6154 DOT h011 DOT c000 DOT wm AT mail DOT backus DOT com DOT criticalpath DOT net> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |