Mail Archives: djgpp/1998/10/22/06:13:29
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 -