BuildingDOSBox
From DOSBoxWiki
You can build your own copy of DOSBox under Windows using either MinGW or Microsoft Visual Studio.
For more information on building DOSBox please see:
See also SVN Builds for plain and enhanced SVN builds and unofficial ports for other ports.