"nacho" <[EMAIL PROTECTED]> writes:

Hola Nacho,

> While I was searching for info on
> compiling Xerces-C on Cygwin on the mailing list archives I found two
> mails (listed at the end) from people who have had the same problem.
> 
> Well, I've also been trying to do this.
> As the "detailed build" sections says:
> -I've "patched" the configure script to allow "-p cygwin",
> -changed XerdesDefs.hpp and AutoSense.hpp (defined environment var CYGWIN)
> -created a folder under Platforms with the name "Cygwin" and
>  copied, with minor modifications, the LinuxDefs.hpp and
>  LinuxPlatformUtils.cpp to CygwinDefs.hpp and CygwinPlatformUtils.hpp
>  (and of course changed the makefile).
> -I also had to create an empty "libpthread.a" (that was the easiest solution
>  I found) to link the library.

This is great, thanks!

> but I still can't manage to compile all because of because of the
> Transcoder file under the Iconv folder!
> That's the only file I can't compile and of course it results in
> tons of unresolved externals at link stage.
> 
> It needs "wctype.h" but this file is not part of cygwin. I know what
> it does but I don't understand why Cygwin doesn't have it.
> Where are the "Wide Char Type" functions declared??
> Does anyone know?
> Is wctype.h a standard header?

These functions are assumed to be defined in the host computers libc
implementation. 

Here's an implementation for cygwin:

  http://www.gimp.org/~tml/gimp/win32/downloads.html

and an email describing how to use it:

  http://groups.yahoo.com/group/gimpwin-dev/message/1507

Here's another email I found on the subject:

  http://www.cygwin.com/ml/cygwin/2001-07/msg01648.html

as well as this earlier one that discussed get Text::Iconv for Perl
working under cygwin:

  http://lists.w3.org/Archives/Public/www-validator/2001JanMar/0224.html

Let me know when you get it working!
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to