Now we can get rid off Mingw to create def file. To create def file, one should run: scons --def in the bsp/simulator.