Administrators Jon Posted January 10, 2004 Administrators Share Posted January 10, 2004 Ok, so I've been compiling under VC6 for a while and I just checked it was still ok under VC7. 200KB exe! (102KB compressed). Take the recent maths functions out and it drops back to 166KB/79KB. Am I missing an option somewhere? "Don't use sucky huge maths libraries"?? 40KB for those functions is a ridiculous waste Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Valik Posted January 10, 2004 Share Posted January 10, 2004 Ok, so I've been compiling under VC6 for a while and I just checked it was still ok under VC7. 200KB exe! (102KB compressed). Take the recent maths functions out and it drops back to 166KB/79KB.Am I missing an option somewhere? "Don't use sucky huge maths libraries"??40KB for those functions is a ridiculous waste Why not load them at run-time from msvcrt.dll? Link to comment Share on other sites More sharing options...
Valik Posted January 10, 2004 Share Posted January 10, 2004 By the way, you'd love the size of my DLL-supported version. It's ~60 kb compressed. For some reason, it's eliminating 3 unreferenced libraries which it just started doing on it's own (That option has been set since I unpacked the source, but it's only just now starting to remove these references after I've built the thing 20 times with it being "normal" size). I barely even touch AutoIt's code, I added most of my stuff in a static library because both AutoIt and DLL's need to link against it. The only settings I changed were to set up the dependancy on that library. This is with VS .NET 2003, by the way. Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 11, 2004 Author Administrators Share Posted January 11, 2004 Why not load them at run-time from msvcrt.dll? It's not standard on all version of windows. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 11, 2004 Author Administrators Share Posted January 11, 2004 Just found a freeware replacement maths library that has most of the functions we need and add no size at all to the exe (most of the functions are in asm! as it was written specifically for doing sub 64KB demos). It's says it's free to use (not even GPLed) but I'm also writing to the author to ask how he wants to be credited. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Valik Posted January 11, 2004 Share Posted January 11, 2004 Ahh, I didn't realize it wasn't standard, I only have access to Windows XP (And obviously one with VS installed on top of that). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now