Synthesis of a polymer-bound galactosylamine and its application as an immobilized chiral auxiliary in stereoselective syntheses of piperidine and amino acid derivatives.