Mail Archives: djgpp/1998/12/03/01:36:42
On Wed, 2 Dec 1998, Paul Van Bellinghen wrote:
> I found the problem. I had to download the files using my macintosh, which
> has internet access, and then copy them to my PC which doesn't. However,
> the Mac strips off the carriage returns on text files somehow. This isn't
> a problem for C source files that use ";" and "}" delimitation or binaries
> that don't use CRs. However, the specs and djgpp.env files require them.
I believe the problem is slightly different. Mac's style of
end-of-line (EOL) is a single CR character. DJGPP code needs either a
single newline (aka LF) or the CR-LF pair; it doesn't support
Mac-style CR-only EOL.
Your mistake was that you used text-mode transfer to copy files
to the Mac, or edited the files on the Mac before moving them to the
PC. You should have copied the original ZIP files in binary mode to
the PC, and unzip them on the PC.
- Raw text -