home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!udecc.engr.udayton.edu!udcps3!news.ysu.edu!do-not-reply-to-path
- From: ah214@yfn.ysu.edu (Weijin Mai)
- Subject: G++:where is the c++ library? I couldn't link c++ program.
- Message-ID: <1992Dec28.134302.12378@news.ysu.edu>
- Sender: news@news.ysu.edu (Usenet News Admin)
- Nntp-Posting-Host: yfn.ysu.edu
- Organization: Youngstown State University/Youngstown Free-Net
- Date: Mon, 28 Dec 1992 13:43:02 GMT
- Lines: 7
-
-
- I compiled the C++ program and produced an object file. The problem is
- I couldn't link it with the appropiate c++ library. My program uses cout and
- cin and the linker doesn't find the library for these two functions. I used
- the -llibrary switch and tried out all the library in usr/lib without success.
- Why can't g++/gcc determine the library it needs from header file?[D[
- What is the library for iostream.h?
-