Gathering resources is done by worker units. To construct worker units you need food. Do you see the hack?
Compounding!
Compounding!