delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/21/06:55:18

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: Mon, 21 Oct 2002 12:53:42 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <34428782446.20021021125342@familiehaase.de>
To: "Judy Wang" <judywang74 AT yahoo DOT com>
CC: xerces-c-dev AT xml DOT apache DOT org, cygwin AT cygwin DOT com
Subject: Re: install xerces-c-src2_1_0 under cygwin
In-Reply-To: <00ca01c278d2$5df3a8b0$5400a8c0@xypoint.com>
References: <20021021014925 DOT 74060 DOT qmail AT web10108 DOT mail DOT yahoo DOT com>
<89347125910 DOT 20021021090029 AT familiehaase DOT de>
<00ca01c278d2$5df3a8b0$5400a8c0 AT xypoint DOT com>
MIME-Version: 1.0

Hallo Abraham,

you wrote:


> 1) gcc 3.2 was released this week via setup.exe (i.e. you don't need to do
> "Exp" anymore)

Ah, I didn't saw this yet.


> 2) I'll write up a bug on getting the build instructions updated.  This is a
> task that I had meant to get to, but wasn't sure whether to do that first or
> get the cygwin package built and deployed.

Great.


> 3) I have an idea of why it isn't linking against libxerces-c2_1_0.dll.  The
> most likely scenario is the topic of a bug that I just entered, where the
> symlinks created in $XERCESCROOT/lib/ don't work the way they are expected
> to under cygwin.  I'm working on a patch for this right now.

One cannot symlink DLL's on Windows.  You can hardlink or copy it, but it
should not be neccessary, one can use a symlink to link the importlibs
libxerces-c.a -> libxerces-c-2.1.0.a so you can use -lxerces-c at the
linkline when compiling your own application.  Anyway the linker should
pick libxerces-c-2.1.0.dll as rt.
BTW, there is some consensus that cygwin DLL's should be prefixed with
'cyg' instead of 'lib' to differentiate them from native Windows libs.


> 4) instead of downloading each .tar.bz2 file from my site and extracting
> them manually, you can also try using the "User URL" feature of cygwin
> setup.exe and point it to http://abackus.imagineis.com and everything will
> be automagically installed in the proper locations if you select
> "xerces-c-devel" under the Devel tree in the setup wizard.  Note that you
> won't be able to link against this pre-built dll unless you have gcc 3.2.

It is really important to point this out!  C++ code built with GCC3 is not
binary compatible with code compiled with GCC2.

> Thanks!
> -Abe


Thank you :-)

Gerrit
-- 
=^..^=


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019