From: Paul Harness Subject: Re: iostream unresolved externals To: ddjenkin AT acs DOT ucalgary DOT ca (David D. Jenkins) Date: Fri, 24 Jun 1994 10:01:03 +0100 (BST) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) > 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