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

Date: Fri, 10 Jun 94 17:31:31 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: babcock AT cfa DOT harvard DOT edu
Cc: helms AT rockm DOT enet DOT dec DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: dos env variables set via setdjgpp.bat

> 
> 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".

GCC will barf if you give it include paths with backslashes in it,
since it thinks they're supposed to be escapes instead of directory
separators.  Always use forward slashes [/] for *_INCLUDE_PATH.


- Raw text -


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