Mail Archives: djgpp/1996/10/29/05:39:14
Greeny wrote:
> Whenever, I try and use GCC to compile C++ programs, it doesn't find the
> libraries and compile correctly. eg. It will not recognise cout and
> gives me an error. What am I doing wrong?
This has to be by far and away the most common frequently-asked DJGPP
question.
The answer is that you're not linking in the appropriate C++ libraries.
Put -liostream on the link line (before the -o argument) or use gxx instead
of gcc.
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"But since when can wounded eyes see | If we weren't who we were"
- Raw text -