I use MinGW (GCC) on Windows Vista and I don't use a real IDE. I always either type the commands on the command line or I create makefiles.
When compiling and linking a project, it might look something like this:
g++ main.cpp -o test.exe -lsfml-window -lsfml-system
In this case test.exe will always need the required DLLs of SFML (e.g. sfml-system.dll).
By searching in the internet I
thought -static would be the solution:
g++ main.cpp -o test.exe -static -lsfml-window -lsfml-system
But also this result needs the DLLs.
I'm wondering how, if it is possible at all, I can link against the static sfml libraries.