Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 1996 15:45:03 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org
Cc:        dyeske@pigseye.kennesaw.edu
Subject:   Re: freebsd compilation
Message-ID:  <199608301545.PAA00510@CoDe.CoDe.hu>
In-Reply-To: <Pine.SOL.3.95.960829230813.16601A-100000@PigsEye.Kennesaw.EDU> from "David Yeske" at Aug 29, 96 11:12:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I am trying to port some applications to freebsd.  I am wondering where I
> can find information on compilation options.  Stuff like curses, termcap,
> lsocket, etc.  Where can I find information like that so I can easily
> compile programs from freebsd?

Well, I didn't exactly understand your question, but:
1) FreeBSD has two types of curses.  With <curses.h> you get the old BSD-curses.
With <ncurses.h> you get a newer version, which looks more like SystemV.
You need -lcurses or -lncurses in the linker phase.
2) It has termcap, and it has terminfo too (well, if you need terminfo,
you have to generate it with ``tconv'').  If I remember well, you need
the -ltermcap or -ltermlib linker flag.
3) it has sockets in the kernel, so you don't need a separate library.
No -lsocket, no -lx.

-- 
	Gabor Zahemszky <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608301545.PAA00510>