delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/13/09:51:04

From: "Sohel" <sohel AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000110122208 DOT 6643F-100000 AT is>
Subject: Re: Error in compiling C program using DJGPP
Lines: 51
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: <Xthf4.23319$G55.332345@news1.rdc1.ab.home.com>
Date: Thu, 13 Jan 2000 10:07:51 GMT
NNTP-Posting-Host: 24.64.75.116
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.ab.home.com 947758071 24.64.75.116 (Thu, 13 Jan 2000 02:07:51 PST)
NNTP-Posting-Date: Thu, 13 Jan 2000 02:07:51 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

Sorry Eli for the typo. I have deleted the old djgpp installation,
downloaded the zip files again and reinstalled djgpp. I can compile C
programs without any problem now. Thanks for your help.

Sohel

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1000110122208 DOT 6643F-100000 AT is...
>
> On Sun, 9 Jan 2000, Sohel wrote:
>
> > 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.
>
> This is wrong: GCC shouldn't be using its builtin specs.  Please
> re-read the installation instructions of GCC and see if you missed
> some part of the setup.  The specs file is in the
> d:/djgpp/gcc-lib/djgpp/2.952 directory; you need to make sure GCC
> uses that file when compiling.
>
> > 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
>   ^^^^^^^^^^^^^^^^^^^^
> Did the message really say "d:/dhgpp/bin/include", or did you type
> this manually and made a typo?
>
> Please don't retype the message by hand: we need to see the *exact*
> text as printed by the compiler.  Either redirect the output to a file
> (see section 6.14 of the FAQ for details) or, if you work on Windows,
> use the clipboard to copy it from the screen and paste it into a file.
>
> > 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)
>
> I believe these all are caused by the same reason: GCC doesn't use the
> correct specs file.


- Raw text -


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