From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc/gxx c++ -> .o (#defines) Date: Thu, 28 Aug 1997 14:21:31 +0200 Organization: TU Chemnitz-Zwickau Lines: 25 Message-ID: <34056D4B.2C4CF2DB@Mathematik.TU-Chemnitz.DE> References: <340488B6 DOT 59E2 AT CS DOT ColoState DOT edu> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de 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 SerDevian wrote: > > Is there a way to get gxx to *not* link in extra libraries, or get gcc > to explicitly compile c++ code? If you have for instance two files 'c.c' and 'cc.cc' and then you call gcc -v -c c.c cc.cc you will happyly see, that gcc will automatically call the correct compiler for 'c.c' (name cc1.exe) and for 'cc.cc' (name cc1plus.exe). Now, what you want to get more? BTW: Of course you can compile them also each with a single command. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************