I try to compile with Allegro 5 on MinGW 4.7.1 using Code::Blocks 12.11 on Windows 7 with these compiler flags (In Project > Linker settings > Other linker settings):
-static-libgcc
-static-libstdc++
Result:
unrecognized command line option '-static-libstdc++'
How to solve it?