home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.help
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!rpi!sarah!cscnews!jjo619
- From: jjo619@csc.albany.edu (John O'neill)
- Subject: How to load sqrt function with g++
- Message-ID: <JJO619.93Jan22015236@thor.albany.edu>
- Sender: news@sarah.albany.edu (News Administrator)
- Organization: State University of New York at Albany
- Date: 22 Jan 93 01:52:36
- Lines: 11
-
- I cannot link(load) a program that calls log and sqrt. I started looking
- at the Normal distribution from libg++ and it calls log and sqrt.
-
- My problem is that I get undefined symbols. Ive tried:
- -lm -lgcc
-
- How do you compile programs with math calls ?
- Im running g++ 2.2.(2?) and libg++ 2.2.2 on Decstation 5000/240.
-
- Thanks,
- John O'Neill
-