Share price is the market cap divide by the number of shares.
If a company is worth £1,000,000 and they have 100,000 shares outstanding the share price will be £10
if they only have £10,000 shares outstanding the price will be £100
The share price depends entirely on how many shares the company decides to issue, and is meaningless as a way to compare two companies.