Mercaptan-resin linkers are used for the synthesis of C-terminal thioesters which are then cleaved with alcohols, amines and organometallic reagents to generate esters, amides, ketones, aldehydes and alcohols as the final products of solidphasesynthesis.