Date: Thu, 18 Feb 1999 21:52:33 -0700 From: Wes Peters <wes@softweyr.com> To: Alex Zepeda <garbanzo@hooked.net> Cc: Chuck Robey <chuckr@mat.net>, "Alton, Matthew" <Matthew.Alton@anheuser-busch.com>, "'Gurudatt Shenoy'" <gurudatt@cs.tamu.edu>, FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: What libraries for socket programs in FreeBSD? Message-ID: <36CCEE11.7CFDBB98@softweyr.com> References: <Pine.BSF.4.05.9902182020030.254-100000@zippy.dyn.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Zepeda wrote: > On Thu, 18 Feb 1999, Chuck Robey wrote: > > On Thu, 18 Feb 1999, Alex Zepeda wrote: > > > On Thu, 18 Feb 1999, Chuck Robey wrote: > > > > > > Yes, and the man pages should and usually do document which external > > > libraries are needed. > > > > Not usually the ones that reside in libc, no, I haven't ever noticed > > that. I used to have to go looking with nm, when I was new to bsd. > > Certainly none of these do, and it's pretty common for other OSs to need > > net libs. I wasn't trying to be critical, but the advice offered no > > help. > > But if you don't give gcc any libraries to link with, by default it will > at least link in libc, right? So one could implicitly assume that if the > man page mentions no other libraries, it's in libc. Mostly, I've found > this to be true. You are correct, sir; if a library is not mentioned in the man page that implies the function is in libc (or, in some cases, libc_r). If it is not, please submit a PR. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36CCEE11.7CFDBB98>