I downloaded celestia-1.2.4.tar.gz from Source Forge and tried to buld with
msvc 6.0 SP5, but it did not parse *.dsw and *.dsp files.
I found out that the problem was that end of line was ASCII 0x0a char
and that MSVC expects 0x0d 0x0a pair.
I fixed *.dsw and *.dsp files with hex editor.
Is there more elegant way to fix this problem?
CR LF pair in tar.gz package problem
There are utilities available to do that conversion for you, but I'm afraid I can't list them. I usually work in an environment where the actual line terminator characters are changed automatically as necessary (Emacs on VMS).
A bare <lf> is the standard Unix line termination (which is what you encountered.)
A bare <cr> is the standard Mac line termination.
<cr> <lf> is the standard Windows line termination (which is what you need.)
Actually, I'm surprised you didn't have encounter the problem with many other files, since tar.gz archives are primarily intended for Unix, not Windows.
I hope that this at least clarifies the problem you're having.
A bare <lf> is the standard Unix line termination (which is what you encountered.)
A bare <cr> is the standard Mac line termination.
<cr> <lf> is the standard Windows line termination (which is what you need.)
Actually, I'm surprised you didn't have encounter the problem with many other files, since tar.gz archives are primarily intended for Unix, not Windows.
I hope that this at least clarifies the problem you're having.
Selden