Mail Archives: djgpp/2000/08/10/12:18:03
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" <eliz AT is DOT elta DOT co DOT il>
To: "Christian Jansen" <C-Jansen AT gmx DOT de>
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@/&EO<W1R96%M+F@^#0HC:6YC;'5D92 \<W1D:6\N:#X-"@T*
M=F]I9"!M86EN("AV;VED*0T*>PT*8V]U=" \/" B2&%L;&\A(B \/"!E;F1L
M(#P\("))8V@@8FEN(&5I;B!0<F]G<F%M;2!V;VXB(#P\(&5N9&P@/#P@(D-H
M<FES=&EA;B!*86YS96XA(B \/"!E;F1L.PT*9V5T8VAA<B AT I DOT PT*9V5T8VAA
)<B AT I DOT PT*?0T*
`
end
- Raw text -