A highly stereoselective and flexible strategy for the convergent synthesis of long-chain polydeoxypropionates: application towards the synthesis of the glycolipid membrane components hydroxyphthioceranic and phthioceranic acid.