SUMMARY: gcc-2.7.2.2

Mark D. Hokhold (hokhold@azrael.mitre.org)
Fri, 21 Mar 1997 09:45:49 -0500 (EST)

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