Compiling newlib for spark on windows


I noticed some issues with the stdio with the default build of newlib for the spark. It does not handles CR/LF correctly. I think I have to rebuild the newlib with the __SCLE option.

Can someone point me to how to setup and compile the newlib sources for the spark on a windows system?

Thank you very much.