Mail Archives: djgpp/1998/01/28/06:00:58
Try renaming the file tmp.cc.
Philip Garrett
Nate Eldredge wrote:
> At 10:10 1/22/1998 +0100, Tomasz Ostrowski wrote:
> >I'm trying to compile file tmp.cpp:
> >
> > #include <iostream.h>
> > int main()
> > {
> > cout<<"Hello world!";
> > }
> >
> >but compiler reports errors:
> >
> >c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x1e):tmp.cc: undefined reference to `cout'
> >c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x23):tmp.cc: undefined reference to
> `ostream
> >::operator<<(char const *)'
> Use the `gxx' command to link, instead of `gcc'. Had you read the README.1ST
> file, you would know this.
> [snipped]
> >My problem is the following:
> >============================
> >
> >
> >Rhide crashes.
> Huh? Is this another problem, or what?
>
> Nate Eldredge
> eldredge AT ap DOT net
- Raw text -