If the code compiled by a visual C++ compiler is straight C++, why do you need a redistributable package? Does this make your code platform dependant? Does using the visual C++ compiler with the redistributable package provide any advantage over using another IDE along with g++?
Share
The code is not platform dependent, the resulting executable is. It is linked against the MS libraries with the standard library implementation, that are included in the redistributable as DLL’s.
IIRC there should be an option for static linking of everything, so that you wouldn’t need the additional redistributable, but the resulting binary would still be platform dependent – for example you can’t run a windows binary on a UNIX system (without WINE at least).