Mail Archives: djgpp/2004/09/30/09:31:06
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
- Raw text -