Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA20369; Fri, 19 Jan 96 22:17:42 EST
Received: from JIMI.MIT.EDU by MIT.EDU with SMTP
	id AA07833; Fri, 19 Jan 96 22:17:42 EST
Received: by jimi.MIT.EDU (5.57/4.7) id AA20475; Fri, 19 Jan 96 22:17:46 -0500
Message-Id: <9601200317.AA20475@jimi.MIT.EDU>
To: Ian Piumarta <piumarta@prof.inria.fr>
Cc: proven@MIT.EDU
Subject: Re: iostream fixed 
In-Reply-To: Your message of "Thu, 18 Jan 1996 14:57:24 +0100."
             <199601181357.OAA08559@atchoum.inria.fr> 
Date: Fri, 19 Jan 1996 22:17:46 EST
From: Christopher Provenzano  <proven@MIT.EDU>


> Chris,
> 
> I think I see the problem now: the stream library in libstdc++ is picking up
> the wrong fwrite, because the final library search order when we get to ld is
> 
> 	-lpthread -lgcc -lpthread -lg++ -lstdc++ -lm -lgcc -lc -lgcc
> 
> I modified my pg++ to include stdc++ after the first pthread:
> 
> 	-lpthread -lstdc++ -lgcc -lpthread -lg++ -lstdc++ -lm -lgcc -lc -lgcc
> 
> and everything seems to be working correctly now.

Ugh, yet another linker problem. I take it libstdc++ is standard with g++, so
I might as well put this in as a patch for pg++.

CAP
