SUMMARY: gcc-2.7.2.2

From: Mark D. Hokhold (hokhold@azrael.mitre.org)
Date: Fri Mar 21 1997 - 08:45:49 CST


Original Question:

Admins,

        I recently compiled gcc-2.7.2.2 for a SS10 solaris 2.5.1 machine. And can't seem to get the g++ to compile correctly. When I run g++ `filename.c`, I get the following errors.

        # g++ filename.c
        ld: fatal: library -lstdc++: not found
        ld: fatal: File processing errors. No output written to a.out

        I compiled `libg++-2.7.2` (which compiled with no problems) previous to the gcc package.

        Any positive input would be greatly appreciated.

        Mark

Answer:

        Thanks for the input of the following people I noticed that I forgot to run `make install` on my libg++-2.7.2 package. The libg++.a and libstdc++.a should've been in /usr/local/lib (by default).

Thanks:

        nleroy@norland.com
        rsynder@eos.hitc.com
        mmaier1@osf1.gmu.edu
        tim@santafe.edu
        harvey@iotek.ns.ca
        njsf@sourcebase.linux.pt

        Mark



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:49 CDT