From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: Cross-compiling NCURSES programs to DOS Date: Sat, 21 Dec 2002 16:36:05 +1100 Organization: ECLiPSE Lines: 16 Message-ID: References: <1040433878 DOT 14187 DOT 22 DOT camel AT first> NNTP-Posting-Host: p14-max17.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1040448968 23299 203.173.154.206 (21 Dec 2002 05:36:08 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Sat, 21 Dec 2002 05:36:08 +0000 (UTC) X-Newsreader: Forte Agent 1.92/32.572 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > I have a program written in ncurses and what I am trying to do is >compile a DOS binary for it. I have sucessfully installed djgpp as a >cross-compiler in Linux, however I am uncertain on how I should get >PDCurses working with djgpp so I can compile my ncurses program for DOS. >Would this be easier to do from a Windows environment? How do I go about >doing this? I compiled PDCurses and have /usr/lib/libcurses.a... Though >-lpdcurses doesnt work, where should I put libcurses.a for it to work >with djgpp? Eric, -lpdcurses means that the library should be libpdcurses.a , but you have libcurses.a so you need to use -lcurses . Give this a try. BTW the PDCurses at Simtel are very old and there are latter versions at http://pdcurses.sourceforge.net/index.html Andrew