Create a program that has as little dependencies as possible

Hi all,

I was just wondering if there was a way in which i could compile a C++ program but have as little dependencies as possible so that it is just a flat file that i can run with all the libraries needed built in? Is there a way i which i could do this?

Many thanks,
Matthew
I think you are talking about a "static build" where everything is included in the .exe...You could try looking at your compiler's help files and do a search for "static build."
Last edited on
Topic archived. No new replies allowed.