From: "Christian Jansen" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP neither running on ms-dos 6.2 nor on caldera-dos 7.03 Date: Thu, 10 Aug 2000 17:30:52 +0200 Lines: 65 Message-ID: <8muhnt$7gvik$1@ID-16903.news.cis.dfn.de> References: <8mrqp6$76b4o$1 AT ID-16903 DOT news DOT cis DOT dfn DOT de> <200008091610 DOT MAA14428 AT delorie DOT com> NNTP-Posting-Host: pec-16-46.tnt5.hh2.uunet.de (149.225.16.46) X-Trace: fu-berlin.de 965921342 7896660 149.225.16.46 (16 [16903]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com When compiling (hello.o), I get no errors, but when I want to run, I get the following messages (RH-IDE's Message Window): --------------------------------------------------------------------- Creating: hello.exe Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs gcc version 2.95.2 19991024 (release) c:/djgpp/lib/gcc- lib/djgpp/2.952/collect2.exe -o hello.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/2.952 -Lc:/d jgpp/bin -Lc:/djgpp/lib hello.o -lstdcxx .lgcc -lc -lgcc -Tdjgpp.djl Error: c:/djgpp/bin/ld.exe: cannot find -lgcc Error: collect2: ld returned 1 exit status There were some errors ------------------------------------------------------------------------ cu CJ ----- Original Message ----- From: "Eli Zaretskii" To: "Christian Jansen" Sent: Thursday, August 10, 2000 7:28 AM Subject: Re: DJGPP neither running on ms-dos 6.2 nor on caldera-dos 7.03 > > On Thu, 10 Aug 2000, Christian Jansen wrote: > > > Error: c:/djgpp/bin/ld.exe: cannot find -lgcc > > Error: collect2: ld returned 1 exit status > > > > The program I wanted to compile was just a simple hello-world-program, that > > I compiled on my Win98-PC without any problems. > > Add -v to the compiler command line and post everything that the > compiler prints. > > But please don't write to me directly, post that info on > comp.os.msdos.djgpp. I read the news group regularly, so you don't > lose anything. What you gain is the other good people there who can > help when I'm not available. > begin 666 hello.cpp M(VEN8VQU9&4@/&EOPT*8V]U=" \/" B2&%L;&\A(B \/"!E;F1L M(#P\("))8V@@8FEN(&5I;B!0