From: "Luiz Rafael Culik Guimaraes" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with linking Lines: 33 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <5PzP6.1271$bt.5546@newsfeed.slurp.net> Date: Fri, 25 May 2001 18:05:52 -0300 NNTP-Posting-Host: 200.215.212.3 X-Trace: newsfeed.slurp.net 990824769 200.215.212.3 (Fri, 25 May 2001 16:06:09 CDT) NNTP-Posting-Date: Fri, 25 May 2001 16:06:09 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dear Friend > > From: "Luiz Rafael Culik Guimaraes" > > Newsgroups: comp.os.msdos.djgpp > > Date: Fri, 25 May 2001 10:16:52 -0300 > > > > I always get an error that the library is not found. even if the library > > path is specified or copied to the djgpp library directory > > Please add -v to the link command line and post here everything that > the compiler and the linker print. Here is the output c:\harb\source\compiler\w32\rsxnt> gcc -v @__link__.tmp Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc driver version 2.95.3 20010315/djgpp (release) c:/djgpp/lib/gcc-lib/djgpp/2.953/collect2.exe -o harbour.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/2.953 -Lc:/d jgpp/bin -Lc:/djgpp/lib harboury.o cmdcheck.o genc.o genhrb.o genjava.o genobj32.o hbfunchk.o hbgenerr.o hbpcode.o hbusage.o hbfix.o hbident.o expropta.o exproptb.o exproptc.o hbslex.o harbour.o -lpp -lcommon -lgcc -lc -lgcc -Tdjgpp.djl c:/djgpp/bin/ld.exe: cannot find -lpp collect2: ld returned 1 exit status The pp.a and common.a are both in c:/djgpp/lib Regards Luiz Rafael Culik