It's interesting that google came up with several step-by-step examples on the first page when I entered "mingw linux" in the search box. There appears to be many pages of results.
Yeah, but It's weird I use Mingw in Linux but there's too many hoops to jump through to try to get it to work. I spent an a whole day trying to figure it out what's going wring, but it works with windows.
I guess it's not worth pursuing because it's wasting production time to try to get a distraction-free environment that linux offers. (because there's no steam on my old laptop)