home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!utrcu1!infnews!infnews!hoekstra
- From: hoekstra@cs.utwente.nl (Aarnoud Hoekstra)
- Subject: HELP WANTED WITH GCC !
- Message-ID: <1992Dec14.091445@cs.utwente.nl>
- Keywords: gcc,linux
- Sender: usenet@cs.utwente.nl
- Nntp-Posting-Host: hydra
- Organization: University of Twente, Dept. of Computer Science
- Date: Mon, 14 Dec 1992 08:14:45 GMT
- Lines: 27
-
- Dear Linux/gcc users,
-
- I have a problem when using gcc. When I compile my c-program using
-
- gcc -g code.c -lm
-
- in order to get debug information (BTW the -lm switch is used to be able
- to use the math.h library properly), the linker responds with
-
- ld: No such file or directory for libm.a
-
- If I compile without debug information like
-
- gcc code.c -lm
-
- everything works perfectly. Must I set some additional paths or is the
- file that is requested (whatever file that may be) by ld not available.
-
- Who can help me ?
-
- ---
- Dept. of Computer Science (SETI)
- University of Twente
- P.O. Box 217
- 7500 AE Enschede
- The Netherlands
- (hoekstra@cs.utwente.nl)
-