delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/08/18:00:14

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: My NT installation wants '\' in the dir command
Date: 8 Nov 2002 22:53:54 GMT
Organization: Cornell University
Lines: 74
Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-145.syr.east.verizon.net)
Message-ID: <Xns92C0B612450EEasu1cornelledu@132.236.56.8>
References: <B66B0B4BF675D411BDCF00508BE32B120C8D3834 AT emss01m06 DOT ems DOT lmco DOT com> <Xns92BFB5DA5F0DCasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <3DCC16AF DOT C3FEB582 AT lmco DOT nospam DOT com>
NNTP-Posting-Host: pool-141-149-206-145.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1036796034 25463 141.149.206.145 (8 Nov 2002 22:53:54 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 8 Nov 2002 22:53:54 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

JMK <jeffrey DOT m DOT klopotic AT lmco DOT nospam DOT com> wrote in
news:3DCC16AF DOT C3FEB582 AT lmco DOT nospam DOT com: 

> 
> 
> "A. Sinan Unur" wrote:
>> 
>> "Klopotic, Jeffrey M" <jeffrey DOT m DOT klopotic AT lmco DOT com> wrote in
>> news:B66B0B4BF675D411BDCF00508BE32B120C8D3834 AT emss01m06 DOT ems DOT lmco DOT com:
>> 
>> > Dear Delorie,
>> >
>> > I installed a DJGPP package on a Win2000 machine and it works
>> > wonderfully!
>> >
>> > However on an NT machine, it appears to want back slashes('\')
>> > versus forward slashes ('/') for directory names.
>> >
>> > When I compile a simple hello world program, the W2000 works great,
>> > the NT says it can't find file c:/djgpp/include/otherincludefile.h.
>> >  I do a dir on c:\djgpp\include\otherincludefile.h and it *is*
>> > there. 
>> 
>> hmmm ... there should definitely not be such a file in the
>> djgpp\include directory. did you put it there? if so, take it out.
>> djgpp\include is for header files that come with djgpp, not your
>> custom headers. 
> 
> Sinan, 
> Thank you for the response. The filename above is only meant to
> illustrate the problem, it is not literally what I did.  It's an
> American thing -- but others do it too.

well, then, what _is_ the name of the file it can't find?

> The unzip did work with long filenames per the check for sysmacros.h
> versus sysmacro.h as explained in djgpp/readme.1st.  But there is
> something in my NT installation that shows both long filenames one
> time and 8.3 filenames another time.  I'll have to check more closely.

as per your other post, note that djgpp programs will not be able to see 
long file names under NT, see 

http://www.delorie.com/djgpp/v2faq/faq3_3.html

when you do an ls in djgpp\include, how do the names come up? for 
example, do you see

sysmacro.h

or

sysmac~1.h

in the list?

in addition, as I have asked before, what did you use to unzip the files? 
from readme1st:

 On Windows/NT (NT version 4 and below, not W2K!) use an unzip
   program which does NOT support long file names if you not plan on
   using the LFN TSR, as DJGPP programs cannot access long file names
   on NT4 without the TSR.  Again, unzip32.exe will do The Right Thing
   for you, so using it is recommended.


again, i have never used djgpp in NT, went from DOS to 9x to XP, so 
anyone with NT experience, please comment.

-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


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