By experimentation, I find that .java files will compile in either UNIX or
DOS format. The UNIX line ends with LF. The DOS line ends with CR/LF.

I also find that my make tool will work with either UNIX or DOS format. The
extra CR doesn't interfere most of the time. My make tool only has a
problem with continuation. It doesn't understand the slash / at the end of
a line because it is /CRLF, not /LF. The extra CR prevents continuation.

The GNU C/C++ compiler is a different story. I find that .cc (and .h) files
won't compile in DOS format. It compiles just find in UNIX format. The
"separator" error message is coming from the GNU C/C++ compiler.

When checking out .cc and .h files from CVS for compiling on Linux, it is
important to specify UNIX text file format. (I still don't know how to do
that with jCVS.)


_______________________________________________
Kernel maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel

Reply via email to