I should have browsed the newsgroup before posting There were atleast two ways in which you could comiple xerces statically,
First Method, - First change the project type from dll to static lib. - Remove the Win32MsgLoader from the project and add the InMemMsgLoader instead. - Change the project settings to define XML_USE_INMEM_MESSAGELOADER instead of USE_WIN32_MESSAGELOADER. - Change the defines for PLATFORM_EXPORT and PLATFORM_IMPORT by removing the _declspec(dllexport) and _declspec(dllimport) - Rebuild. Second Method, Just remove the declspec and build statically. I got a size of around 9 Mb.. I am not an expert, hence dont know the significance of InMemMessageLoader or the Win32 message loader(which does what and how). But you can always find it out. Now I am on my way to build xalan statically.. thanks everybody for attempting to compile xalan statically... -Sanjiv --- Alberto Massari <[EMAIL PROTECTED]> wrote: > Hi Sanjiv, > > At 21.15 24/01/2005 -0800, Sanjiv Deshpande wrote: > >Hi all, > > > >is there a documentation as to how to build xalan > >statically on windows/vc7.1 > > Did you compile Xalan or Xerces? > > > >I tried it and got a lib file of some 100 mb in > debug > >mode. I think i am not doing it correctly. Any help > >would be appreciated > > Last time I compiled Xerces statically, I got a 15Mb > LIB file, I think. But > if you are compiling Xalan, I have no idea what is > the size of the library. > > Alberto > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]