Jawaad Ahmad wrote:
Are you sure? With or without the
USES Crt;
statement, or the
PROGRAM Hello (Input, Output);
statement, it gives me the same error about -lgcc. [...]
Okay, so GPC is unable to find your GCC. That's a minor incompatibility between a version of GPC and a version of GCC that does not match exactly.
To work around, you can copy the GCC-related files (`cc1' etc.) somewhere under /djgpp/lib/gcc-lib/... from GCC's directory to GPC's one.
Hope this helps,
Peter