Group Manager for Greater Manchester Fire and Rescue Service, Andy Heywood said: "At the moment we are applying water to the outside of the building to stop the fire spreading.
"By allowing the fire to burn inside the building it stays hot and gives off smoke which is relatively clean.
"Unfortunately because the building and fire is right next to the railway line we have asked for the trains to be stopped and overhead line equipment isolated.
"It could be several hours before we can be confident of what will happen to the building and how the fire will develop."
More top news
A murder investigation has started in Rochdale after a woman was found dead.
A man has been charged with the murder of an 80-year-old woman at her home on Merseyside.
Storm Brian moves away... mixed week in store, with warmer temperatures and some sunny spells