From: "Steven Hendrickson" Newsgroups: comp.os.msdos.djgpp References: <9j7b10$neh$1 AT info DOT cyf-kr DOT edu DOT pl> <995574724 DOT 645083 AT queeg DOT ludd DOT luth DOT se> Subject: Re: Comad-line compiler Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Message-ID: Date: Fri, 20 Jul 2001 03:53:00 GMT NNTP-Posting-Host: 209.178.171.210 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread2.prod.itd.earthlink.net 995601180 209.178.171.210 (Thu, 19 Jul 2001 20:53:00 PDT) NNTP-Posting-Date: Thu, 19 Jul 2001 20:53:00 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Thu, 19 Jul 2001 20:50:21 PDT (newsmaster1.prod.itd.earthlink.net) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Look at delorie.com, and you will find a link for GNU documentation; there you will find an extensive explanation of how to use a makefile, which is just what you need. good luck, Steve "Martin Str|mberg" wrote in message news:995574724 DOT 645083 AT queeg DOT ludd DOT luth DOT se... > "Rafal Maj (Raf256)" wrote: > : But ther is one problem... file dependiences checking (re-compiling only > : moddified files by comparing time of .cc and of .o) is done by RHIDE or by > : GCC utils ? > : It's a shame, but I did never used command-line compiler :( > : Where can I find exacly explanation how to compile/build files ? > > : I.e. I want file a.cc and b.cc to be compiled using C++ compiler, and then I > : want to link a.o and b.o into prj.o how to do this ? > > Learn how "make" works ("info make"). > > > Right, > > MartinS >