delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/03:58:19

Date: Wed, 5 Mar 1997 10:40:04 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Jon A. Cruz" <jonc AT twinsun DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: [Q] What #defines for cross-platform
In-Reply-To: <331C8D16.2FD2@twinsun.com>
Message-ID: <Pine.SUN.3.91.970305103946.14799F-100000@is>
MIME-Version: 1.0

On Tue, 4 Mar 1997, Jon A. Cruz wrote:

> I have been looking at these items:
> 
> * OS
> * compiler bugs (Hey, I'm using MS compilers, 'nuff said)
> * byte order
> * size of types
> * 64k pointer limit
> * text/binary mode for files

Don't forget the syntax of the filenames: '\\' as opposed to '/', and
the drive letter.  This is by far the most painful issue in programs
portable to both Unix and Microsoft OSes.  Also, the PATH environment
variable uses `:' as the separator on Unix, but `;' on MS-DOS and
MS-Windows.

- Raw text -


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