Re: [xml] Windows Build Minorities



Eric Zurcher csiro au wrote:
Igor,

I have a couple of patches for you.
The first is a patch to configure.js which adds a BCB-specific boolean
option named "dynruntime". If set to "yes", then Borland's dynamic runtime
will used; otherwise the runtime is linked statically. This option is set to
"yes" by default.

The second is an associated patch to Makefile.bcb to set the appropriate
compilation flags based on the dynruntime setting. It also fixes a bug where
the leading "!" was omitted from an !else conditional in the Makefile.

One caveat here - many of the test applications (xmllint and friends) will
not run correctly if the BCB configuration settings include both
multithreading (threads != "no") and use of static runtimes (dynruntime ==
"no"). This is a consequence of the "stdout" problem which I mentioned a few
days ago. With these settings, both the BCB-build DLL and the application
will each have  their own "stdout", and separate mechanisms for handling
thread contention on files. In the test applications, the application's
stdout is passed as a argument to functions like xmlDocDump. When the DLL
tries to write to it, its runtime first tries to lock the FILE for
thread-safety, and apparently chokes when it can't find it in its internal
table.

It's in the CVS. Thanks!

Ciao,
Igor




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]