From Gibbs microcanonical ensemble to Tsallis generalized canonical distribution