Date: Fri, 25 Apr 2003 13:03:34 +0200 From: Simon Barner <barner@in.tum.de> To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-questions@freebsd.org Subject: Re: How to find a library Message-ID: <20030425110334.GB594@zi025.glhnet.mhn.de> In-Reply-To: <20030425035625.GB81840@dogma.freebsd-uk.eu.org> References: <20030425035625.GB81840@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/<name of the ports>. 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030425110334.GB594>