delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/31/18:30:56

Date: Mon, 31 Mar 1997 18:03:54 -0500 (EST)
From: firewind <firewind AT constellation DOT stu DOT rpi DOT edu>
To: Jeff Krob <jkrob AT shore DOT intercom DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Newbie djgpp G77 Question
In-Reply-To: <333F1809.560C@shore.intercom.net>
Message-ID: <Pine.LNX.3.96.970331175933.658B-100000@constellation.stu.rpi.edu>
MIME-Version: 1.0


On Sun, 30 Mar 1997, Jeff Krob wrote:

>  Hi all,
>=20
>    I just installed GNU's GCC &=A0G77 distribution from DJGPP on a
> WinNT=A04.0 Workstation.  As a way of showing the version, I entered "g77
> -v" and got this response:
>=20
> g77 version 0.5.19
>  gcc -v -fnull-version -o C:\TEMP\gfaaaaaa -xf77-cpp-input /dev/null
> -xnone (LF/CR)
> gcc.exe: /dev/null:=A0No such file or directory (ENOENT)
> gcc version 2.7.2.1.f.1
>=20
> Questions:
> #1) what is that file in the c:\temp directory for?

GCC creates files in stages each of which are saved to a temporary file

> #2) what is with that "/dev/null"?  This is not a UNIX machine.  I
> created the \dev\null both off the root and the \gnu\djgpp\bin (the
> installation directory) but it didn't like that.  How to fix?

g77 is not in itself a compiler; it's just a front end. It tells gcc to
compile '/dev/null' so that it can get gcc's version output. The DJGPP
libraries emulate the /dev directory tree; for this emulation to work
right, you should NOT create a /dev directory yourself.

> #3) also, I didn't find a djgpp.env file anywhere.  Do I need that?  Is
> that the problem?  Shouldn't it have been included in the distribution?

You most certainly do. It sounds to me like you downloaded JUST the g77
package; you need to download the base packages as well. See
ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st

- Raw text -


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