Summary:

The Great General is somewhat different from other Great People. Instead of being generated in cities by specialists, Great Generals are generated by combat. Whenever one of your military units gets XPs, your civilization generates Great General points (except when fighting against barbarians). When you've got enough points, you earn a Great General. At that point the amount you need for the next Great General rises.