Reputation: 45
I want to reduce size of my win32 applications programmed in MS Visual Studio C++ and I also want to have guaranteed compatibility on all Windows version (XP and upper without Visual C++ Redistributable Package). I used /MT
and /NODEFAULTLIB
parameter to reduce file size and get rid of C Run-Time library. But I lost access to functions like malloc, free, strcat, strstr, etc... What is the best approach to bypass this problem?
I'm thinking about this alternatives:
Or is it some other solution for my problem? Thank you
Upvotes: 1
Views: 1496
Reputation: 12496
I'll probably never understand why people want to do that (PCs are not exactly embedded platforms with all their size issues), but there's basically three options:
Upvotes: 1