The synthesis of glucose from noncarbohydrate sources, such as fat and protein. This occurs when the glycogen supplies in the liver are exhausted. The pathway is essentially a reversal of glycolysis from pyruvate to glucose and it can utilize many sources, including amino acids, glycerol, and Krebs cycle intermediates. Large-scale protein and fat catabolism normally occurs only in those suffering from starvation or certain endocrine disorders.