Problem is that without guidance and some sort of range extender (Flip out wings, rocket booster, etc.) you're simply not going to get that kind of range out of a conventional gun. And it's not for lack of trying. The USN managed to achieve a range of 41nm by using a an 11" sub calibre shell and firing it from a gun made by welding two 16"/45 barrels together end to end. The resulting gun was a whooping 36.5m long and had to be externally braced. The best range achieved from a practical gun was 35nm with the 4" Arrow Long Range Bombardment projectile from an 8"/55 gun.
In comparison the SS-N-2 Styx anti ship missile, probably the most common missile out there, has a range of 43nm and is compact enough to be fired from a FAC or a truck.
_________________
“Close” only counts with horseshoes, hand grenades, and tactical nuclear weapons.
That which does not kill me has made a grave tactical error
Worklist
Source Materiel is always welcome.