*BSD News Article 12200


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd
From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.development
Subject: Re: those darn libraries
Date: 2 Mar 93 20:55:15
Organization: Kernel Hackers 'r' Us
Lines: 17
Message-ID: <CGD.93Mar2205515@eden.CS.Berkeley.EDU>
References: <1993Mar3.003329.17295@mcshub.dcss.mcmaster.ca>
NNTP-Posting-Host: eden.cs.berkeley.edu
In-reply-to: cs3mh3bx@maccs.mcmaster.ca's message of Wed, 3 Mar 1993 00:33:29 GMT

In article <1993Mar3.003329.17295@mcshub.dcss.mcmaster.ca> cs3mh3bx@maccs.mcmaster.ca (Dan Marino #13) writes:
># cc -lm name.of.above.file

try:

cc name.of.above.file -lm


why?  the linker is one-pass, and only picks up routines it needs...
(and that's not a bug...)


chris
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

                 MENTALLY CONTAMINATED and proud of it!