delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/10/17:21:25

Date: Fri, 10 Jun 94 17:00:43 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: helms AT rockm DOT enet DOT dec DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: dos env variables set via setdjgpp.bat
Reply-To: babcock AT cfa DOT harvard DOT edu

> ...Then the env variables are wholly in UNIX syntax.  The tryit.bat facility
> seems to generate the same working hello executable with the same message
> displayed for BOTH sets of env variables.  Which form is "correct"?

Djgpp seems to be pretty good at accepting either forward or backward slashes
in most places.  I believe it used to be pickier.  For that matter, DOS also
accepts either style slash anywhere except on the command line.  If you do
manage to get the wrong style slashes into one of the programs, it will tell
you this by failing to find a file or something similar.  I see places in the
GO32 source code where \ get translated to /, so I suppose the forward slash
is "correct".

- Raw text -


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