Mail Archives: djgpp/2003/03/13/05:30:23.1
bjosip (jbiscanNOSPAM AT public DOT srce DOT hr) wrote:
: I just downloaded djgpp and unpacked it. I set the environment variables and
: then run the rhide. I wrote a simple hello world program, compiled it
Show us the output from "set".
: successfully and when I tried to run it, I got this error:
: Error: c:/djgpp/bin/ld.exe: cannot find -lgcc
: Error: collect2: ld returned 1 exit status
This is a link error, which is generated when linking which is the
last stage of a compilation. It can't be generated when running the
program.
Are you using an IDE?
Try without it to see if it's the IDE or not that is the problem.
: What is the problem and what do I have to do?
: thanks for any help...
If it's not working outside the IDE, add "-v" to the compiler flags
and show us all the output.
Right,
MartinS
- Raw text -