X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help with NTL installation Organization: Systematic Software Message-ID: References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 40 Date: Thu, 30 Sep 2004 13:17:17 GMT NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse AT shaw DOT ca X-Trace: pd7tw3no 1096550237 24.71.223.147 (Thu, 30 Sep 2004 07:17:17 MDT) NNTP-Posting-Date: Thu, 30 Sep 2004 07:17:17 MDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 29 Sep 2004 21:50:00 -0700 in comp.os.msdos.djgpp, lzwnews AT yahoo DOT com (Trav) wrote: >First, I'm a complete newbie when it comes to DJGPP, so apologies if >the question is too elementary. > >I tried installing NTL (http://www.shoup.net/ntl/), but simply >couldn't get it to work with DJGPP. According to its instructions at > >http://www.shoup.net/ntl/doc/tour-win.html > >it said > >"First, compile all of the files in "src", and create a static >library." > >Ok I compiled with a -c, and obtained a bunch of *.o files. > >"Make sure the compiler knows where to find NTL's include files >(directory "include" and not "include/NTL")" > >I'm not so sure about this step, but I copied all the *.h files into >/djgpp/include directory. > >"Then, to compile a program using the library, make sure the compiler >knows about the library and the directory of NTL's include files." > >Which totally stumped me. I checked the DJGPP FAQ multiple times but >nothing seemed to be of help. Could any kind soul please help? Thanks. ar /dev/env/DJDIR/lib/libntl.a *.o ^^^^^^^^^^^^^^ means wherever DJGPP is installed then use gpp -l ntl when compiling your programs. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply