Three fluorinated linkers which are analogues of linkers commonly used in solid-phase peptide synthesis have been prepared. One of the linkers was used in combination with gel-phase 19F NMR spectroscopy to develop conditions for solid-phase synthesis of two libraries of pilicides, i.e. compounds designed to inhibit assembly of adhesive pili in uropathogenic Escherichia coli. Attachment to and cleavage from the linker could be monitored based on the chemical shift of the fluorine atom of the linker. In addition, use of the linker as internal standard allowed quantification and optimization of reactions occurring further away from the linker when fluorinated building blocks were employed. Importantly, high-quality 19F NMR spectra were obtained for compounds linked to a TentaGel resin in a standard NMR tube using an ordinary NMR instrument.