If you want to do a proper job with gates, it is common to cast both posts together below ground with a reinforced "limpa" across the opening underground. This is to prevent the posts from moving individually and to provide extra support to the post that carries the gate. You'll simply need to dig and check.