Date: Tue, 19 Aug 1997 15:47:23 +0300 (IDT) From: Eli Zaretskii To: Atte Koivula cc: djgpp AT delorie DOT com Subject: Re: DJGPP compiling problems In-Reply-To: <01bcabf2$fb5331a0$4386d2c1@ojzxnyqp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.