delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/19/08:49:37

Date: Tue, 19 Aug 1997 15:47:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Atte Koivula <keijo DOT koivula AT pp DOT inet DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP compiling problems
In-Reply-To: <01bcabf2$fb5331a0$4386d2c1@ojzxnyqp>
Message-ID: <Pine.SUN.3.91.970819154704.21250H-100000@is>
MIME-Version: 1.0

On 18 Aug 1997, Atte Koivula wrote:

> I just deleted and re-installed DJGPP only to find out it's somehow screwed
> up. I've installed all the necessary packages mentioned on Brennan's DJGPP
> page (apart from the pklite-type thing and I installed a newer version of
> the GNU BinUtils), but something isn't right... I can't even compile a
> simple "Hello World!"-program without adding -liostream (I'm using
> C++-syntax, meaning I've included iostream.h and I'm using cout instead of
> printf) as a compilation parameter.

This is how it's supposed to work.  If you use C++ classes, you need
either to add -liostream or use gxx instead of gcc.

If you are already using gxx, please post the command line, the error
message(s), your DJGPP.ENV, the listing of the environment variables,
and the rest of the works.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019