Add two directories to “Search directories”:
add the following item to linker options:
-static-libgcc -static-libstdc++