I am developing a program that has both Windows and Linux versions from the same source files. I was very impressed that my program developed first under Windows compiled immediately under Linux and worked. Of course, a few platform-specific changes are needed, that can be handled with $IFDEFS. For example, I have to find a Linux replacement for ShellExecute, to launch web pages in the user's browser.
I really would like to have just a single set of source files, and not risk confusion by copying them to Linux to work there, and then copying back to Windows. I have read/write access from Linux to my Windows partition.
Is it practical to compile under two platforms using the same physical copies of the source files?