Reaction of 2,4,6,8-tetrachloropyrimido[5,4-d]pyrimidine (I) with diethylamine (II) yields (III), which is converted into RA-642 by heating with 2'-hydroxyethyl-2'-methoxyethylamine (IV).