Mail Archives: djgpp/1997/09/01/00:20:20
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 *
*****************************************************************
- Raw text -