I asked this question early about storing C files on all different platforms, but for this question I would like to focus only on Windows because I haven't found any good resources on it yet.
Basically, where are these things generally or typically stored on windows:
- C libs
- Database files
- Config files
- Log files
- Shell scripts
On mac I have this:
/usr/local/lib/libfoo.dylib
/usr/local/include/foo.h
/usr/local/bin/foo
On linux I have this:
/usr/lib/libfoo.so
/usr/include/foo.h
/etc/foo
/var/lib/foo
/var/log/foo
But the question is for windows, for which I've pieced together this:
%USERPROFILE%\AppData\Roaming\stone\libfoo.a
%USERPROFILE%\AppData\Roaming\stone\foo.dll
%USERPROFILE%\AppData\Roaming\stone\foo.h
c:\bin\dev\foo
The question is if I'm on the right track for windows, and what the log and config and database spots are for windows.
For example, where does the homebrew for windows store stuff? Maybe they have a good system. If there is no standard, that would be good to know (I assume there is no standard).