You can install MinGW yourself, or just get the Code::Blocks package that includes MinGW.