Principal photography took place in the Illizi Province of Algeria (to depict Chad), London, Munich, Barcelona and locations across south-eastern Spain throughout mid-to-late 1973.