Mail Archives: djgpp/1994/06/24/05:59:55
> iostream classes. I have been linking like this:
>
> gcc -o myprog -lgpp -lgpl myprog.cc
>
> and still not getting the iostreams library linked. In
Try gcc -o myprog myprog.cc -lgpp -lm
libgpl is something to do with debugging. You need to link the maths
library too as some routines in libgpp use it.
--
Paul Harness, | Internet: gapa83 AT udcf DOT gla DOT ac DOT uk
Department of Physics and Astronomy, |
University of Glasgow, | Tel +44-41-339-8855 ext 8359
Glasgow, G12 8QQ, SCOTLAND. | Fax +44-41-334-9029
- Raw text -