www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/03/01:36:42

Date: Thu, 3 Dec 1998 08:35:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Paul Van Bellinghen <pvanbell AT idsi DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: unrecognized option '-i386'
In-Reply-To: <3665FAFD.F0E44021@idsi.net>
Message-ID: <Pine.SUN.3.91.981203083456.2275D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019