First post, by TeaRex
Hello,
if this was Linux I wouldn't have to ask for this but unfortunately I'm rather new to Win32 development stuff. What I'm trying to get to in the end is a one-file "thing" that runs one of a couple of older DOS programs of mine, out of the box without any installation, and without any outside dependencies beyond a standard Windows install. I had the idea of using dosbox with the physfs patch, and modifying that to use Resources embedded in the executable instead of external files. Basically "doing it the Mac way" without any user visible file clutter.
I'm stumbling at the first hurdle already: how to link a static dosbox executable with VC++ Express. Not static with respect to standard Windows dlls I mean, but one which has SDL, zlib, libpng etc. integrated, everything that I can't rely on to be present on other computers.
I assume I have to compile SDL from source for that? And then, how do I tell the VC++ linker to link things statically? And, is there something for windows like Linux's "ldd", which shows the dependencies of an executable?
I'm grateful for any help. I'm not asking you to do my job though, a hint on where to look for the answers should be enough.
tearex