From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help for newbie. Date: Fri, 08 Aug 1997 00:02:56 -0400 Organization: Cornell University http://www.cornell.edu Lines: 41 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33EA9A70.1DE8@cornell.edu> References: <199708080310 DOT NAA21404 AT rabble DOT uow DOT edu DOT au> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0028.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Brett Leslie Porter wrote: > > > HI, > > > > I just downloaded djgpp to practise some c++ but I can't > > get the simplest program to work. > > > > I must be doing some thing very stupid so please help me s hese are > > the hardesr things to see > > > You need to compile like this: > > (assuming the files are file1, file2, etc. ) > > gcc -o file1.o -c file1.cpp > gcc -o file2.o -c file2.cpp gcc -c file.cpp is enough. > .. > finally: > gcc -o runme.exe file1.o file2.o -liostr or just gxx file1.cpp file2.cpp -o program.exe this is why we refer people to readme.1st rather than giving possibly incomplete/inaccurate answers. you cannot give full information and explain the differences between the two forms above without quoting readme.1st in full. instead of duplicating the same information with every question, it is preferable to direct people to the source of information. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************