delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/11/12:45:41

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Tim Boston <homer AT FAKEspringfield DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: LFN support for XP?
Date: Tue, 11 Nov 2003 12:36:21 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vr27gfoh1gu4c2@corp.supernews.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <vqlmfln660qqdb AT corp DOT supernews DOT com> <3FACD610 DOT 834713DD AT phekda DOT freeserve DOT co DOT uk> <vqvj4ami9t4362 AT corp DOT supernews DOT com>
In-Reply-To: <vqvj4ami9t4362@corp.supernews.com>
X-Complaints-To: abuse AT supernews DOT com
Lines: 94
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hey all,

Okay; here's the answers to your comments:

--------------------------------------------------------------------

(1) Here's the output of DIR /X (using CMD.EXE):

  Directory of c:\test

11/11/2003  12:24 PM    <DIR>                       .
11/11/2003  12:24 PM    <DIR>                       ..
11/11/2003  12:04 PM                30              testtesttest.c
                1 File(s)             30 bytes
                2 Dir(s)  25,581,142,016 bytes free

Hmmm... there isn't any short-form.  This is the same using COMMAND.COM.

--------------------------------------------------------------------

(2) Output of GCC -V testtesttest.c (CMD.EXE):

c:\test>gcc -v testtesttest.c > tim.txt
Reading specs from c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/specs
Configured with: /devel/gnu/gcc/3.3/gnu/gcc-3.32/configure 
i586-pc-msdosdjgpp --
prefix=/dev/env/DJDIR --disable-nls
Thread model: single
gcc version 3.3.2
  c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/cc1.exe -quiet -v 
-D__GNUC__=3 -D__GNU
C_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -remap -imacros 
c:/devtools/djgpp/lib/gcc-li
b/djgpp/3.32/djgpp.ver testtesttest.c -quiet -dumpbase testtesttest.c 
-auxbase t
esttesttest -version -o c:/devtools/djgpp/tmp/cc24QcOE.s
GNU C version 3.3.2 (djgpp)
         compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory "c:/devtools/djgpp/djgpp/include"
#include "..." search starts here:
#include <...> search starts here:
  c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/include
  c:/devtools/djgpp/include
End of search list.
cc1.exe: testtesttest.c: No such file or directory (ENOENT)

My DJGPP installation is at C:\DEVTOOLS\DJGPP (I've tried renaming the 
folder to TOOLS\DJGPP with no difference).  I have no idea why it's 
attempting to look in c:\devtools\djgpp\djgpp\include -- I haven't 
altered anything (using as original download with PATH variable set to 
BIN subdir and DJGPP environment variable pointing to DJGPP.ENV.

--------------------------------------------------------------------

(3) Here's the same compile attempt using 2.04.  Compiling TEST.C works 
fine -- here's what happens for testtesttest.c:

cc1.exe: testtesttest.c: Permission denied (EACCES)

...and finally here's GCC -V testtesttest.c:

c:\test>gcc -v testtesttest.c
Reading specs from c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/specs
Configured with: /dj204/gnu/gcc-3.32/configure i586-pc-msdosdjgpp 
--prefix=/dev/
env/DJDIR --disable-nls
Thread model: single
gcc version 3.3.2
  c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/cc1.exe -quiet -v 
-D__GNUC__=3 -D__GNU
C_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -remap -imacros 
c:/devtools/djgpp/lib/gcc-li
b/djgpp/3.32/djgpp.ver testtesttest.c -quiet -dumpbase testtesttest.c 
-auxbase t
esttesttest -version -o c:/devtools/djgpp/tmp/ccokDGYq.s
GNU C version 3.3.2 (djgpp)
         compiled by GNU C version 3.3.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory "c:/devtools/djgpp/djgpp/include"
#include "..." search starts here:
#include <...> search starts here:
  c:/devtools/djgpp/lib/gcc-lib/djgpp/3.32/include
  c:/devtools/djgpp/include
End of search list.
cc1.exe: testtesttest.c: Permission denied (EACCES)

--------------------------------------------------------------------

- Is there something I have to alter in DJGPP.ENV perhaps?
- Why is there no short-form of the filename using DIR /X?

Tim.

- Raw text -


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