delorie.com/archives/browse.cgi | search |
Date: | Thu, 25 Aug 94 22:19:20 -0400 |
From: | dj AT ctron DOT com (DJ Delorie) |
To: | Thomas DOT Mcwilliams AT f615 DOT n109 DOT z1 DOT fidonet DOT org |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: force C++ compile? |
In theory, you can build g++, but you can't *name* it g++ (plus isn't valid in DOS filesystems). You could also use "gcc -v foo.cc" to see what programs to run (cpp and cc1plus) and write a simple program or batch file to run it. Alternately, use this: gcc -x c++ foo.c See the gcc info file for more information.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |