The known methyl 7-hydroxyheptanoate (I) is hydrolyzed with LiOH and subsequently converted to the benzyl ester (II) by treatment with benzyl bromide and NaHCO3. Swern oxidation of the primary alcohol function of (II) yields aldehyde (III), which is subjected to Wadsworth-Emmons condensation with the tetrahydropyranyl-protected phosphonate (IV) to afford the O-tetrahydropyranyl enol ether (V). Further acidic hydrolysis of (V) provides keto diester (VI). Alternatively, aldehyde (III) is condensed with the silyl-protected phosphonate (VII) to give (VIII), which is then deprotected to (VI) by desilylation with CsF. Displacement of the methyl ester function of (VI) with methylamine yields amide (IX). The benzyl ester group of (IX) is then removed by hydrogenolysis over Pd/C to produce acid (X). Finally, coupling of acid (X) with the thiazolyl amine (XI) leads to the title compound.