Hi Norbert, > The libraries (*.lib -> debug+release) compiled without > errors or warnings to a size around 45 megs. ... > bloat my code to 45Megs (crypto++) plus <size of > my own code> I never worry about code size. For me, it is kind of like carbon dioxide in the atmosphere. I do my little part (to keep my emissions to a minimum), but there's not much else I can do. Also, Release vs Debug will produce different final executable sizes. In the end, the linker should only use what is needed from the library.
See http://groups.google.com/group/cryptopp-users/search?group=cryptopp-users&q=code+size. > Or do I only need to include the md5.obj and > the header file md5.h Include md5.h, link against the library. No need for attempting to bring in object files. Let the linker extract the code from the library. > If there is some place (faqs,samples) that would > address my general questions I would appreciate > you pointing me to it! Google is your friend. Jeff On 11/15/07, Norbert <[EMAIL PROTECTED]> wrote: > > hi guys, > > im completely new to crypto++ and my programming experience has > somewhat waned over time so I need a little handholding. > > I dld the new crypto++ package and compiled the resource as well as > debug static libraries as stated in the article > "Compiling and Integrating Crypto++ into the Microsoft Visual C++ > Environment" on codeproject. The libraries (*.lib -> debug+release) > compiled without errors or warnings to a size around 45 megs. > > Now to my question: Lets say I want to generate a simple message > digest of a file (md5) or a crc-32. If I link to the crypto++ > libraries does this bloat my code to 45Megs (crypto++) plus <size of > my own code> ??? Even If I would only need the md5 or crc32 part ? Im > sure there is some misunderunderstanding on my part..... Or do I only > need to include the md5.obj and the header file md5.h into my > project ? If there is some place (faqs,samples) that would address my > general questions I would appreciate you pointing me to it! > > thanx, > norbert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
