From: you AT ghfky DOT ddd (Technoweenie) Newsgroups: comp.os.msdos.djgpp Subject: Problems w/ djgpp "out of the box" Date: Thu, 20 Jan 2000 23:11:42 GMT Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 35 Message-ID: <3887949f.86827151@news.alt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.452 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 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