delorie.com/archives/browse.cgi | search |
Date: | Tue, 30 Jul 1996 17:50:33 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Jasper Hendriks <j DOT hendriks AT student DOT utwente DOT nl> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: Problem with undefined references in DJGPP v2.0 |
In-Reply-To: | <4tfrbc$5e7@dinkel.civ.utwente.nl> |
Message-Id: | <Pine.SUN.3.91.960730174810.660C-100000@is> |
Mime-Version: | 1.0 |
On 28 Jul 1996, Jasper Hendriks wrote: > Im experiencing a problem when i compile (gcc test.cc) the following > program: > > #include <stdio.h> > void main() > { > cout << "hello world!"; > } > > I get the following message: > test.cc(.text+0x37): undefined reference to `cout' > test.cc(.text+0x3c): undefined reference to `ostream::operator<<(char const > *)' Please download the DJGPP FAQ list (v2/faq201b.zip from the same place you get DJGPP) and read section 8.7 of the FAQ, which explains this.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |