Production of cables