🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Damon Lipparelli Tue, 12 Jan 1993 00:44
finding installed libg++
#445
Author: Damon Lipparelli
Date: Tue, 12 Jan 1993 00:44
32 lines
1369 bytes
On an HP700 system, I've built libg++ 2.3 with gcc 2.3.3.  It gets
installed automatically into $(somedir)/lib/libg++.a (where $(somedir) is
determined by the configuration stage).  However, gcc doesn't look for
libg++.a by default and can't seem to find it if I specify it as -lg++ on
the command line.

I tried compiling the following program with "gcc -o tst tst.cc"
and gcc died with two or three unresolved symbol errors.  When I tried to
compile it with "gcc -o tst tst.cc -lg++", gcc said that it couldn't find
"-lg++".  This is all very strange since gcc doesn't have any trouble
finding the installed libg++ header files.

Is there something I'm missing?

Thanks for any information,
-lipp

ps:  Here is the test source.

// "tst.cc"
#include <iostream.h>

main()
{
  cerr << "here is some output" << endl;
}

--
Damon Lipparelli
Sierra Geophysics, Inc.
ARPA: lipp@sierra.com, UUNET: uunet!sgihbtn!lipp
Phone: (206) 822-5200 (x375)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads