From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: trouble linking Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Wed, 25 Aug 1999 19:06:14 +1000 NNTP-Posting-Host: 139.134.163.4 X-Trace: newsfeeds.bigpond.com 935578035 139.134.163.4 (Wed, 25 Aug 1999 20:47:15 EST) NNTP-Posting-Date: Wed, 25 Aug 1999 20:47:15 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tom Macie wrote in message news:HzKw3.75$Zi1 DOT 49972 AT news DOT sgi DOT net... > The following program compiles ok, but when I try to link it i get an error > that says c:/djgpp/bin/ld.exe: cannot open -lgpp: No such file or directory > (ENOENT). Any help would be greatly appreciated. Use gxx to compile C++ programs. It automatically links the C++ libraries for you. Example: gxx foo.cc -o foo.exe -- Johan Venter ICQ 3643877 surf.to/djgppig