Previous Next
Windows to UNIX Cross-Platform Development with CVS

There are two problems when doing Windows to UNIX Cross Platform development:

  1. When cvs is run on Windows, it will add a Carriage Return (CR) Character at the end of the line of every file it creates: both CVS internal files and files managed by CVS. Most UNIX Compilers don't work with the resulting CRLF line ending scheme.
  2. The CVSROOT scheme required by Windows local repositories ( :local:d:\the\repository ) can is saved in the CVS/Root file with the sources. UNIX Versions of CVS don't understand this special form of CVSROOT and produce an error.
    The first problem can currently only be solved by obtaining a special, patched version of CVS that has an additional switch for suppressing the Carriage Return line ending. This version is available from TakeFive Software on request, mail to
    sniff-support@takefive.co.at
    It is possible, though, that future versions of CVS have this special switch compiled in.
    To solve the second problem, it is necessary to use a CVS Repository that uses the same naming scheme on both Windows and UNIX: this can be accomplished by setting up a CVS Remote Repository.