Mail Archives: djgpp/2000/05/02/19:14:19
"Federici Alberto" <alberto_fed AT hotmail DOT com> wrote:
> Dear "Gurus",
> J download the djgpp files and unzipped, but J don't be able to compile anything: with your example in the Faq, Hello, when J compile it, on screen appear these messages: "'#include expects "FILENAME" or <FILENAME>; now J complete with <iostream> and on screen appear the message:"Error: implicit declaration of function 'int printf (...)'.What can J do?
Your otherwise complete post is missing some vital clues to your
problem:
The exact source code that you are trying to compile,
The command you use to compile,
The full errors you get.
I am guessing you are mixing C and C++.
You need #include <stdio.h> if you want to use printf().
But by default gcc does not complain about "implicit declaration" so
maybe you invoked gcc with HELLO.C instead of hello.c, please post the
full information if you need more help.
> The files that J downloads are:
> -csdpmi4b
> -csdpmi4s
> -djdev203
> -faq211b
> -gcc2952b
> -gpp2952b
> -lgp2952b
> -rhide14b
> -rhide14s
> -txi312b
I think bnu281b.zip is needed too. Please re-visit the Zip-Picker at
http://www.delorie.com to be sure you you have all the necessary
packages and the correct instructions to install on your machine.
> J'm sorry for my eventual english mistakes, but not a champion in languages (if
What mjstakes? ;-))
ps. can you turn off HTML in your mailer.
- Raw text -