[lug] RH 9.x and g++ compiles

Michael J. Hammel mjhammel at graphics-muse.org
Sat May 31 19:34:13 MDT 2003

On Sat, 2003-05-31 at 20:08, Peter Hutnick wrote:
> Are you (or your make file, or build script, or whatever) using the
> command "gcc" or "g++"?  The command gcc will try to build your C++ file
> as a C file, and /minimally/ fail because the C++ standard library won't
> be available.

The compile step is using g++.  The link step is using gcc.  I can check
how to switch to g++ for linking.  I'd always thought it didn't matter
which you used during linking, but maybe that's wrong.  I can certainly
try it.

I'm using imake for this.  I'm used to it (much more so than autoconf),
so it shouldn't be hard to try this solution.

Michael J. Hammel           |
The Graphics Muse           |   Errors have been made. Others will be blamed.
mjhammel at graphics-muse.org  |

More information about the LUG mailing list