The present disclosure provides a process for the preparation of (R)-2-((2-amino-7-fluoropyrido [3, 2-d] pyrimidin-4-yl) amino)-2-methylhex-1-ol or a salt thereof. The present disclosure also provides methods for preparing compounds of formulae III, IV, V, VI, VII, VIII, IX, and X. In addition, the present disclosure provides compounds of formulae III, IV, V, and XI.