On a free turbine engine, PT6 and the like, the prop will rotate the prop reduction gearbox and N2 or power turbine gear trains and ancillaries.
This occurs due to the inherent characteristics of a free turbine engine, that is the power turbine and gas producer turbines are not coupled.
Mad-jock has explained fixed turbine eloquently enough.
Cheers
BH