Article View: comp.sys.next.programmer
Article #2193HELP: compiling C++ using gcc on NeXT
From: Trung Dung
Date: Wed, 06 Jan 1993 03:01
Date: Wed, 06 Jan 1993 03:01
19 lines
859 bytes
859 bytes
I have gcc2.3.3, and libg++2.3 installed. I have the following "hellow world"
program to test out the stream library:
#include <stream.h>
main()
{
cout << "hello world" << endl;
}
It compiled fine, but failed when it tried to link. Here is the messag:
ld: Undefined symbols:
_endl__FR7ostream
_cout
___ls__7ostreamPCc
.....
Am I missing something? Any help would be highly appreciated!
Trung
Technical Details
Message-ID:
<106244@bu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!cs!trungReferences:
<1993Jan5.232447.24153@athena.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!cs!trung From: trung@cs.bu.edu (Trung Dung) Newsgroups: comp.sys.next.programmer Subject: HELP: compiling C++ using gcc on NeXT Message-ID: <106244@bu.edu> Date: 6 Jan 93 03:01:57 GMT References: <1993Jan5.232447.24153@athena.mit.edu> Sender: news@bu.edu Organization: Computer Science Department, Boston University, Boston, MA, USA Lines: 20