ftp.delorie.com/archives/browse.cgi | search |
Date: | Thu, 2 Jan 1997 09:04:06 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Nebu John Mathai <mathai AT ecf DOT toronto DOT edu> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Problem compiling c++ program with djgpp v2.0 |
In-Reply-To: | <Pine.SGI.3.91.970101163405.27480B-100000@skule.ecf> |
Message-ID: | <Pine.SUN.3.91.970102090218.17516D-100000@is> |
MIME-Version: | 1.0 |
On Wed, 1 Jan 1997, Nebu John Mathai wrote: > I got this error during compilation: > > 1.cc(.text+0x1e): undefined reference to `cout' > 1.cc(.text+0x23): undefined reference to `ostream::operator<<(char const *)' This is explained in both the readme.1st file and the FAQ. You need to use gxx instead of gcc to compile C++ programs, like so: gxx -o 1.exe 1.cc
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |