www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/27/13:23:16

Date: Sat, 27 Aug 1994 11:51:28 -0400
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: goliver AT magnus DOT acs DOT ohio-state DOT edu (Guy L. Oliver)
Subject: Re: ofstream problem.

>I think the maintenance release fixes this...  You might want to try it.
>It's at omnigate.clarkson.edu:pub/msdos/djgpp
>
>(It's only a beta now...)
>
>Gordon


If it was suposed to, I dont think it did.  I tried that all ready, but
still got the errors.  Since I dont have time right now to fix the offending
source code, I did the following to work around the problem.  I looked at
the source code for the libraries, and saw that the makefile for the
libgpp.a included in it the object files from libio, libiostream, and
libgpp.  I rebuilt each of these libraries seperately, and placed each one
in the /lib dir.  Now, instead of calling gcc test.cc -o test -lgpp, I call
gcc test.cc -o test -liostream.  The libgpp archive now only contains the
extra classes that were added, like lists, and character strings.  And the
libio is not accessable withoug calling the libgpp files in.  Can any one
think of a probelm that this might cause???

  As it stands now, the new libraries that I built can not be used in
certain combonations,  I dont know if it is libgpp of libio that is making
use of stdfiles, but if I try to use one the wrong one with libiostream,
I'll get the same errors.  Does any one know if it is libio files that call
stdfiles, or is it in the libgpp files?  I looked, but could find no
reference to this file in either collection of source code.  

Thanks...
GLO
------------------------------------------------------------------------------
Guy Oliver                                           The Ohio State University
goliver AT cis DOT ohio-state DOT edu                           oliver AT cis DOT ohio-state DOT edu
------------------------------------------------------------------------------


- Raw text -


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