delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/09/17:26:17

From: "Sohel" <sohel AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000109155040 DOT 26313B-100000 AT is>
Subject: Re: Error in compiling C program using DJGPP
Lines: 70
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <f%5e4.15551$G55.192944@news1.rdc1.ab.home.com>
Date: Sun, 09 Jan 2000 20:15:07 GMT
NNTP-Posting-Host: 24.64.75.116
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.ab.home.com 947448907 24.64.75.116 (Sun, 09 Jan 2000 12:15:07 PST)
NNTP-Posting-Date: Sun, 09 Jan 2000 12:15:07 PST
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> You have some installation snafu.  Please add -v to the compiler options,
> and post here everything that GCC prints during compilation.

Thank you for your suggestion. In the following I have listed the messages
that I get when I use the -v option:

D:\DJGPP>gcc -v -o cprog.exe cprog.c
Using builtin specs.
gcc version 2.95.2 19991024 (release)
cpp -lang -c -v -isystem
d:/dhgpp/bin/include -D__GNUC__=2 -D__GNUC__MINOR__=95 -Dunix -Di386 -DG032 
-DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__G032__ -D_DJGPP__=2 -D__MSDOS__ 
-D__unix -D__i386 -D__G032 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msd
os) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 
-D__i386__ -D__tune_pentium__ -imacros ../include/sys/version.h -remap
cprog.c C:\TEMP\ccBSQWnZ.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
End of search list.
The following default directories have been omitted from the search path:
d:/djgpp/include
$DJDIR/lang/cxx
$DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
$DJDIR/lib/gcc-lib/djgpp/2.952/include
$DJDIR/include
End of omitted list.
cpp.exe: ../include/sys/version.h: No such file or directory (ENOENT)

Any suggestion from you will be appreciated.

> What version of DJGPP did you download, btw?
I downloaded the DJGPP files yesterday from the DJGPP sites, and there were
no choices for version (as much as I could remember) except OS versions
(NT). From the Djdev202.ver file it looks like I have djdev202 Development
Kit and Runtime. Please let me know if I need to download the files again.

I am now able to invoke rhide.

Thank you.

Sohel




"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1000109155040 DOT 26313B-100000 AT is...
>
> On Sun, 9 Jan 2000, Sohel wrote:
>
> > I have just downloaded DJGPP on my Windows NT (Version 4), followed the
> > setup procedures from the djgpp web site, when I try to compile the
> > following cprog.c program using:
> >          gcc -o cprog.exe cprog.c
> >
> > I get the following error message:
> > cpp.exe: ../include/sys/version.h: No such file or directory <ENOENT>
>
> You have some installation snafu.  Please add -v to the compiler options,
> and post here everything that GCC prints during compilation.
>
> What version of DJGPP did you download, btw?
>
> > Also, if you could provide me some insights how to begin "RHIDE", that
would
> > be helpful to me.
>
> Doesn't RHIDE come with documentation that describes this?


- Raw text -


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