www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/22/06:13:29

Date: Thu, 22 Oct 1998 13:10:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Some questions, and some bugs (perhaps)
In-Reply-To: <gunaalubzrpbz.f181iqa.pminews@news.avnl1.nj.home.com>
Message-ID: <Pine.SUN.3.91.981022130542.3460A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 22 Oct 1998, Mike Ruskai wrote:

> it took me a bit to figure out that ifstream and ofstream objects
> weren't assuming ios::in and ios::out, as they should.

How do you figure that, and in what version of GCC/libstdcxx did you see 
this?

> Primarily what I need to know is what defines the compiler makes, so that I
> can make alterations specific to it, rather than to anything but my normal
> compiler.

Use __DJGPP__.  This is explained further in section 8.6 of the DJGPP FAQ 
list (v2/faq211b.zip from the same place where you got DJGPP).

> In addition, is there any way to compress the executables, and keep them
> functional?

v2misc/mlp107b.zip from the DJGPP sites.  But I suggest to read section 
8.13 of the FAQ first, since it is quite possible that your program can 
be made significantly smaller even without compressing it.

- Raw text -


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