I tried to do the same thing, but I guess it doesn't work. There is a component (I believe it is NSPR) that doesn't use the MT setting, because it is not in the makefile.
Next to that problem (above is a bug in the bugtracker), the xpidl tools don't don't run properly with the static libraries. Ben Hutchings wrote: > Enrico Albonico <[EMAIL PROTECTED]> wrote: > > I'm searching for a way to compile mozilla on Windows using the static > > version of the C run time library (libcmt.lib, compiler option -MT) > > instead of the one which is used normally (msvcrt.lib, with the option -MD). > > > > My problem is that I have also other libraries in my project which use > > the static version and I cannot change their way of compiling/linking. > > > > Any Ideas? > > What makes you think you need to do that? The C library state that I > can see generally needs to be shared throughout a program would be the > heap, the standard I/O streams and locale information. But I don't > think Mozilla uses stdio or C library locale facilities, and it > doesn't require you to allocate things that will be freed inside > Mozilla (not using direct C library calls, or new and delete, anyway). > So I don't think it matters if Mozilla uses another copy of the C > library. > > Ben. > > -- > Ben Hutchings > Every program is either trivial or else contains at least one bug _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
