For the OP , 'flange' meaning there is a thing you make and bury in the concrete with the top poking out. The gate post then bolts to it.
As an example here's a road side structure being installed while already attached to its' flange (this is a bit different in that the bolts are designed to snap off when hit by a car)
Strong as feck.





