home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21896 < prev    next >
Encoding:
Text File  |  1992-12-28  |  879 b   |  19 lines

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