Re: [xml] wrong compiler settings for MSVC in makefile

I have attached a patch to add a build option to configure.js called
"true_static" (for lack of a better name).  I am not sure of the correct
format for these patches - these were done using diff -c with output going
to the given .dif files.  All this patch does is sets the library compile
option to -ML if true_static is on and threads is not specified or -MT if
true_static is specified and threads is specified.  It will also append a
"d" to the option if debug is specified.

I am not sure what side-effects this will have on other parts of the
libraries.  All I can say is that everything works fine for the parts I use
(which is mostly the DOM tree stuff) when I build it this way.

As to the comments on the usefulness of this patch, the answer is I don't
know.  We have customers who use various bare-bones Windows implementations
who want it this way.  Personally, I prefer to link my compiler application
executable against the static non-threaded library because it does not
require thread support and I prefer a solid executable that can be run on
any Windows 95 and up platform without having to deal with DLL versions and
paths and registries and all that other jazz.


Ed Day

----- Original Message -----
From: "Igor Zlatkovic" <igor zlatkovic com>
To: "Aleksey Sanin" <aleksey aleksey com>
Cc: <xml gnome org>
Sent: Tuesday, November 18, 2003 6:34 AM
Subject: Re: [xml] wrong compiler settings for MSVC in makefile

If someone would prepare a patch and provide configure.js
option to change runtime then I would be really really really
glad if multithreaded runtime would be used by default.

Don't worry about that. If people want to use obsoleted runtime, I have
nothing against it. More correctly, I don't care. If a patch is provided,
then I will apply it, I see no reason not to. But it will be an
behaviour which must be expicitly turned on. I won't change the default


xml mailing list, project page
xml gnome org

Attachment: configure_js.dif
Description: video/dv

Attachment: Makefile_msvc.dif
Description: video/dv

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