Mail Archives: djgpp/1998/09/12/16:37:40
Darian Linehan wrote:
>
> Hi, I have just downloaded and installed DGJPP. Every time I try and
> compile a program (the basic "Hello World!" prog)
> I get the following error:
>
> c:/utils/dgjpp/tmp\cccqedcf(.text+0x19):hello.cpp: undefined reference
> to `cout'
> c:/utils/dgjpp/tmp\cccqedcf(.text+0x1e):hello.cpp: undefined reference
> to `ostream::operator<<(char const *)'
When linking C++, you should use `gpp' instead of `gcc'. README.1ST
discusses this.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -