Provided are methods of making certain pyrrolopyrimidine derivatives, which are useful in the treatment of proliferation disorders and other diseases related to the dysregulation of kinase (such as, but not limited to, EGFR (including HER), Alk, PDGFR, BLK, BMX/ETK, BTK, FLT3 (D835Y), ITK, JAK1, JAK2, JAK3, TEC and TXK) and/or the respective pathways, salts, polymorphs, and amorphous forms of said compounds, synthetic intermediates for preparing said compounds, and pharmaceutical compositions comprising said compounds and methods for making such compositions.