delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/28/16:15:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Newsgroups: comp.os.msdos.djgpp
Subject: Install directory
From: Andrew Clark <lark047 AT hotmail DOT com>
Message-ID: <Xns9794A3C63D5A30x120@66.150.105.47>
User-Agent: Xnews/5.04.25
Date: 28 Mar 2006 21:10:25 GMT
Lines: 99
NNTP-Posting-Date: 28 Mar 2006 21:10:25 GMT
X-Complaints-To: abuse AT nntpserver DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

I'm trying to install DJGPP in a directory other than (root):\DJGPP, like 
D:\abc\DJGPP. I set the environment variable DJGPP to

D:\abc\DJGPP\DJGPP.env

and put the DJGPP directory in my path.

When I try to compile a program, this is what I get:

D:\abc\_Projects\Misc\programs>dir ini.c
 Volume in drive D is office
 Volume Serial Number is 9053-7EC9

 Directory of D:\abc\_Projects\Misc\programs

01/17/2001  12:21 AM               737 ini.c
               1 File(s)            737 bytes
               0 Dir(s)   3,847,573,504 bytes free

D:\abc\_Projects\Misc\programs>gcc ini.c
cc1.exe: error: ini.c: No such file or directory (ENOENT)

D:\abc\_Projects\Misc\programs>

This is the output from gcc -v ini.c:

D:\abc\_Projects\Misc\programs>gcc -v ini.c
Using built-in specs.
Target: djgpp
Configured with: /gnu/gcc-4.01/configure djgpp --prefix=/dev/env/DJDIR --
disable
-nls --disable-werror --disable-checking --enable-
languages=c,ada,c++,f95,objc
Thread model: single
gcc version 4.0.1
 d:/abc/djgpp/bin/../libexec/gcc/djgpp/4.01/cc1.exe -quiet -v -iprefix 
d:/abc/dj
gpp/bin/../lib/gcc/djgpp/4.01/ -remap -imacros 
d:/abc/djgpp/bin/../lib/gcc/djgpp
/4.01/djgpp.ver ini.c -quiet -dumpbase ini.c -mtune=pentium -auxbase ini -
versio
n -o d:/abc/djgpp/tmp/ccZ2tXJG.s
ignoring nonexistent directory 
"d:/abc/djgpp/bin/../lib/gcc/djgpp/4.01/../../../
../djgpp/include"
ignoring nonexistent directory "d:/abc/djgpp/djgpp/include/"
#include "..." search starts here:
#include <...> search starts here:
 d:/abc/djgpp/bin/../lib/gcc/djgpp/4.01/include
 d:/abc/djgpp/lib/gcc/djgpp/4.01/include/
 d:/abc/djgpp/include/
End of search list.
cc1.exe: error: ini.c: No such file or directory (ENOENT)
GNU C version 4.0.1 (djgpp)
        compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

D:\abc\_Projects\Misc\programs>gcc -v ini.c > out.txt
Using built-in specs.
Target: djgpp
Configured with: /gnu/gcc-4.01/configure djgpp --prefix=/dev/env/DJDIR --
disable
-nls --disable-werror --disable-checking --enable-
languages=c,ada,c++,f95,objc
Thread model: single
gcc version 4.0.1
 d:/abc/djgpp/bin/../libexec/gcc/djgpp/4.01/cc1.exe -quiet -v -iprefix 
d:/abc/dj
gpp/bin/../lib/gcc/djgpp/4.01/ -remap -imacros 
d:/abc/djgpp/bin/../lib/gcc/djgpp
/4.01/djgpp.ver ini.c -quiet -dumpbase ini.c -mtune=pentium -auxbase ini -
versio
n -o d:/abc/djgpp/tmp/ccnhpxzn.s
ignoring nonexistent directory 
"d:/abc/djgpp/bin/../lib/gcc/djgpp/4.01/../../../
../djgpp/include"
ignoring nonexistent directory "d:/abc/djgpp/djgpp/include/"
#include "..." search starts here:
#include <...> search starts here:
 d:/abc/djgpp/bin/../lib/gcc/djgpp/4.01/include
 d:/abc/djgpp/lib/gcc/djgpp/4.01/include/
 d:/abc/djgpp/include/
End of search list.
cc1.exe: error: ini.c: No such file or directory (ENOENT)
GNU C version 4.0.1 (djgpp)
        compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

D:\abc\_Projects\Misc\programs>

Can anyone point me in the right direction? I've perused the 'Net to no 
avail so far.


Thanks,
Andrew

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***

- Raw text -


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