home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / help / 1691 < prev    next >
Encoding:
Text File  |  1993-01-22  |  712 b   |  22 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!rpi!sarah!cscnews!jjo619
  3. From: jjo619@csc.albany.edu (John O'neill)
  4. Subject: How to load sqrt function with g++
  5. Message-ID: <JJO619.93Jan22015236@thor.albany.edu>
  6. Sender: news@sarah.albany.edu (News Administrator)
  7. Organization: State University of New York at Albany
  8. Date: 22 Jan 93 01:52:36
  9. Lines: 11
  10.  
  11. I cannot link(load) a program that calls log and sqrt.  I started looking 
  12. at the Normal distribution from libg++ and it calls log and sqrt.
  13.  
  14. My problem is that I get undefined symbols.  Ive tried:
  15. -lm -lgcc
  16.  
  17. How do you compile programs with math calls ?
  18. Im running g++ 2.2.(2?) and libg++ 2.2.2 on Decstation 5000/240.
  19.  
  20. Thanks,
  21.     John O'Neill
  22.