Any common, decent compiler on a system using .exe files has, as one of it's tasks, the production of such files. Read your documentation. If you don't have any, see Mr. Google.