delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/05/20:25:13

Mime-Version: 1.0
To: kedar AT cse DOT iitb DOT ernet DOT in (Dhamdhere Kedar Ramachandra), djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: gcc 2.8.0
Date: Tue, 5 May 1998 17:19:31 -0700
Message-ID: <19980506001904.AAD3698@ppp124.cartsys.com>

At 04:44  5/4/1998 GMT, Dhamdhere Kedar Ramachandra wrote:
> I downloaded gcc 2.8.0, djdev201.zip , bnu281b.zip and cwsdpmi and I did 
>exactly as given in readme.1st . I also removed [gcc] and [cpp] parts in 
>djgpp.env . But when I tried to compile one program following was the output .

Sorry, that was a documentation bug. You should *not* have removed the
pieces from DJGPP.ENV; it causes various things to break. Restore DJGPP.ENV
from the distributed one.

>C:\DJGPP\CONTRIB\DJP\SRC>gcc -v makeh.c
>Using builtin specs.
>gcc version 2.8.0
> c:/djgpp/lib/gcc-lib/djgpp/2.80/cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNU
>_MINOR__=8 -Dunix__ -Di386 -DGO32 -DMSDOS -DDJGPP=2 -D__unix -D__i386__
-D__GO32
>__ -D__MSDOS__ -D__DJGPP__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS
-D__DJGPP=2 -A
>system(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Di386 -Asystem(unix) 
>-Acpu(i386) -Amachine(i386 -D__i386__ -Asystem(unix) -Acpu(i386)
-Amachine(i386)
> makeh.c c:\/ccaaaaaa.i
>GNU CPP verson 2.8.0 (80386, BSD syntax)
>#include "..." search starts here:
>#include <...> search starts here:
> c:/djgpp/lib/gcc-lib/djgpp/2.80/include
> c:/djgpp/include
>End of search list.
>cpp.exe: c:\/ccaaaaaa.i: Permission denied (EACCESS)
>
>
>
>Someone please tell me how to get gcc working .

Please post the output of the `SET' command to see what is in your
environment. It seems that your temp directory is set to "C:\", which when
another slash is added results in a bogus name. However, DJGPP should
override that and put temp files in c:\djgpp\temp, which should work. Seeing
your environment will help debug that.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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