Gcc compiler b18 newbie probs
Rich Dorfman
webhead@web-feats.com
Tue Dec 9 22:08:00 GMT 1997
Just installed Gnu-Win32 b18 on Win95 P100 platform. Paths and environment
variables successfully added to autoexec.bat.
Tried to compile the following:
#include <iostream.h>
int main(void)
{
cout << "Come up and C++ me some time.";
cout << "\n";
return 0;
}
Got the following errors:
undefined reference to `cout'
undefined reference to `ostream::operator<<(char const *)'
I presume that iostream.h is not being found. The file resides at:
C:\gnuwin32\b18\include\g++\iostream.h
I'm using the dos command line. I've tried the -I switch after my compile
statement. What is the proper switch?
What is the proper syntax?
Back slashes or forward slashes in the path?
Should I be using BASH shell prompt? Advantages/disadvantages?
Thanks list for your help.
_____________________________________________________________
\ | / |== Rich Dorfman
\|/ eb |== (414) 569-1228
| eats webhead@web-feats.com
* Web page design, Internet marketing & instruction
* Total connectivity solutions
* Firewalls, content filtering & network security
--->> www.web-feats.com <<---
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list