hey, I know how to use g++ and all that to compile c++ programs. My question is, if I have some code which depends on various libraries, how can I compile it into a simple executable that I can send anyone. For this I would be happy with just keeping it on os x.
I would like to know how to compile a "real" program not just an executable I can run locally. I have tried googling this but haven't found much.
Do I have to use installing software? I know in windows you can make some simple .exe stuff that use common DLL files
Any help would be appreciated, Thanks