Message-Id: <199912080744.JAA27817@www.Foo.COM> From: "S. M. Halloran" Organization: User RFC 822- and 1123-compliant To: Gaurang Kanvinde , djgpp AT delorie DOT com Date: Wed, 8 Dec 1999 09:51:30 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: curses.h In-reply-to: <384DDF91.C39D1317@ccs.iitb.ernet.in> X-mailer: Pegasus Mail for Win32 (v3.12b) Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 8 Dec 99, Gaurang Kanvinde was found to have commented thusly: > > nowhere in the documentation have i come accross a help section for > > curses.h > > > > i want to know how to compile and link files when using curses.h > > the good old linux staement gcc filename.c -lcurses or gcc > > filename.c -lncurses doesn't work here. i have downloaded the whole pdc > > distributiion (zip file) from djgpp server. i didn't find any answer > > there either. hence this call for help to u. > > bye, > gaurang. Probably you neglected to make (build) the curses library itself first. Go to the directory where you'd find the makefile or look at the documentation for how to build curses. It may be the case you can find an already precompiled library, but it's a safer route to build it yourself. Then try your 'gcc myfile. -lxxx' command line, where 'xxx' conforms to the pattern 'libxxx.a', which is the curses library you built. As for interfacing with the curses functions (you want to code using them?), it's a sorry distribution that doesn't provide you the documentation to the interface. Anyway, if you don't have access to a commercial Unix system and its manual or online manual, you can try the web: there are a few sites that provide something like a "Unix Reference Center." Curses is fairly well "standardized." --------------------------------------------------------- M. Halloran other privileged title: obedient father to 3 year old Sequoia