From: Charles Krug Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with djgpp error / newbie Date: Thu, 24 Dec 1998 09:17:05 -0500 Organization: Pentek Corporation Lines: 44 Message-ID: <36824CE1.1AE9CB06@mail.pentek.com> References: <3682290D DOT 3F338C45 AT tav DOT mitsui DOT co DOT jp> NNTP-Posting-Host: mail.pentek.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Mor,Ady/TAVBB" wrote: > Hello All, > > Please please p;lease give me a hand: > > I have just installed the DJGPP compiler (for C++) which I downloaded > from delorie.com. > > I have written a very basic program and compiled succesfully (to my > amazement). (The source is below...) > Now I want to run (exec) and I get an error message indicating that > ld.exe has no input files. > > When I run ld.exe I get the following line ("d:/djgpp/bin/ld.exe: no > input files." 1. Make sure you've downloaded Textutils and the FAQ. All wisdom is in the FAQ. Sometimes it's hard to know the right question, but once you do, the answer is there. 2. Post the command line you're using to compile/link. For c++, I use this: gxx -Wall -o fred.exe fred.cc If you add the -v switch, you can see annoying details about the build process that may or may not be helpful. Which should work right out of the box. Always use -Wall and make sure you don't get any warnings. No warnings means you're not doing anything questionable. Charles -- Charles Krug, Jr. Application Engineer Pentek Corp 1 Park Way Upper Saddle River, NJ 07458