Novel routes to chiral 2-alkoxy-5-/6- methoxycarbonylmethylidenepyrrolidines/-piperidines.