From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 04:03:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6DD337B404 for ; Fri, 25 Apr 2003 04:03:38 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A93943F75 for ; Fri, 25 Apr 2003 04:03:37 -0700 (PDT) (envelope-from barner@in.tum.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 9EE56630E; Fri, 25 Apr 2003 13:03:36 +0200 (MEST) Received: from mail.informatik.tu-muenchen.de (mail.informatik.tu-muenchen.de [131.159.0.26]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id 8DA217946; Fri, 25 Apr 2003 13:03:36 +0200 (MEST) Received: from zi025.glhnet.mhn.de (unknown [129.187.19.157]) by mail.informatik.tu-muenchen.de (Postfix) with ESMTP id 741B96CB0E; Fri, 25 Apr 2003 13:03:36 +0200 (MEST) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 1341737568; Fri, 25 Apr 2003 13:03:35 +0200 (CEST) Date: Fri, 25 Apr 2003 13:03:34 +0200 From: Simon Barner To: Jonathon McKitrick Message-ID: <20030425110334.GB594@zi025.glhnet.mhn.de> References: <20030425035625.GB81840@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20030425035625.GB81840@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: How to find a library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 11:03:39 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jonathon, > I'm coming over from Win32 development, and I have a question about findi= ng > a library to find what you need. >=20 > Currently, if I need a function, it can be found somewhere in MFC. Howev= er, > since I want to start porting some of our software to Unix, I need to know > how to find/use similar functions that are not part of Unix base > functionality. >=20 > What is the best way to find these libraries? I think you have to give a few more details. I which languages do you intend to program? -> Most probably C or C++. As y= ou have remarked, FreeBSD offers (mostly) ISO/ANSI compatible C and C++ librar= ies. It also implements (most of) the POSIX standard. Since you are from a MFC background, I can imagine, that you are looking fo= r a GUI toolkit, or maybe a database. > Once found, is it only a matter of including the .h file and linking? Yes, there are lots of libraries in the ports collection. When you install = them, everything is in the right place, and they wait unpatiently for you to link against them :-) Most of the ports also install documentation (quite important for programmi= ng), either as man pages, or in $(PREFIX)/share/doc/. Okay, but what's the best way to find the library? Either search the ports collection for a key word (cd /usr/ports; make search key=3Dbla), search wi= th your favorite search engine, ... Of course, you can also ask here, which kind of library would fit your needs best. Cheers, Simon --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+qRYGCkn+/eutqCoRAtP8AKClahq9XXMSeH7cLJ6ELgYXV1jfuQCg7SOB gRqcQ8rDxVlM7e6TKb3Dwzc= =B4Td -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--