From: webhead AT web-feats DOT com (Rich Dorfman) Subject: Gcc compiler b18 newbie probs 9 Dec 1997 22:25:25 -0800 Message-ID: <3.0.32.19971210000704.0069ca10.cygnus.gnu-win32@globaldialog.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: gnu-win32 AT cygnus DOT com Just installed Gnu-Win32 b18 on Win95 P100 platform. Paths and environment variables successfully added to autoexec.bat. Tried to compile the following: #include 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 AT web-feats DOT 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 AT cygnus DOT com" with one line of text: "help".