Mail Archives: djgpp/2000/01/20/18:59:06
Hi,
I just downloaded and installed djgpp on my ms-dos 486 system and
encountered an error I thought someone might have some insight on.
I downloaded the minimum needed from the "What to download" section
of the README.1ST file that came with the main compressed file.
Here's the problem: When I try to compile a simple C program
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello world!\n");
}
I get an error from the linker stating:
c:/djgpp/bin/ld.exe:djgpp.djl:7:parse error
collect2: ld returned 1 exit status
I looked at the djgpp.djl file and it's not very intuitive as to
what's going on in there. The line it is failing on looks like this:
*(.gnu.linkonce.t*)
I deleted this line, and several others that got a parse error (they
looked similar) and eventually my executable was built and ran
successfully. However, I am obviously worried about what I deleted
and what it was needed for...
Thanks in advance for any help
J. Frank Reeves
- Raw text -