Mail Archives: djgpp/2000/01/10/11:21:17
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 -