delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/28/15:11:19

Message-Id: <199901282010.UAA37882@out4.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: "Andris Pavenis" <pavenis AT lanet DOT lv>, djgpp-workers AT delorie DOT com
Date: Thu, 28 Jan 1999 15:11:06 -0500
MIME-Version: 1.0
Subject: Re: Templates, namespaces
In-reply-to: <B0000068132@stargate.astr.lu.lv>
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990128062943 DOT 00814b20 AT pop DOT netaddress DOT com>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp-workers AT delorie DOT com

> Anyway there is one interesting thing with STL  I should mention. 
> Version of collect2.exe with patches from Mark E. sometimes fails to
> recompile source and resolve template problems. 

One thing seems to be missing from the source of collect2.c from 
egcs111s.zip. Please add to your source after #include <sys/stat.h>:
#include <sys/wait.h>. Or in patch form:
*** collect2.c.bak	Thu Dec 10 18:22:22 1998
--- collect2.c	Thu Jan 28 15:07:56 1999
***************
*** 29,34 ****
--- 29,35 ----
  #include "system.h"
  #include <signal.h>
  #include <sys/stat.h>
+ #include <sys/wait.h>
  
  #define COLLECT
  


This should fix the problem with the current source.

Mark

--- 
Mark Elbrecht snowball3 AT usa DOT net
http://members.xoom.com/snowball3/

- Raw text -


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