Assuming all other things to be equal between the two bike (crank length, etc) the only thing you would have to consider for gearing are the crank gears and the cassette gears. Two different bikes with the same gear sizes up front and in back would provide all the same gear ratios. Of course, all things are not equal and climbing, speed, etc would be affected by fit, geometry, etc. When looking at new bikes you'd want to look at the gearing and compare it to what you have now and then decide if it would give you what you need.

When I was shopping for a bike it immediately became clear that a double crank would not give me the low gears I needed, so I limited myself to bikes with triples. When I decided on the Specialized Sequoia I still had the cassette switched from 12-24 to 12-27 to get me additional low gear ratios.