delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/27/14:49:44

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Sun, 27 Jan 2002 13:41:57 -0600
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp-workers AT delorie DOT com
Cc: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>,
Charles W Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: GCC 3.x and bcopy
Message-ID: <20020127134157.A2746@kendall.sfbr.org>
Mail-Followup-To: djgpp-workers AT delorie DOT com,
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>,
Charles W Sandmann <sandmann AT clio DOT rice DOT edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020127105225 DOT 14549L-100000 AT is> <10201271804 DOT AA18350 AT clio DOT rice DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <10201271804.AA18350@clio.rice.edu>; from sandmann@clio.rice.edu on Sun, Jan 27, 2002 at 12:04:12PM -0600
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

-: Could we - should we? - create an ifdef in string.h for the bcopy prototype?
-: This would break building the 2.03 library with GCC 3.x but would retain
-: current 2.03 behavior for old programs under GCC 2.x.

Don't know if this will help in resolving the issue, but recently
I encountered a problem with bcopy when compiling GNU termcap-1.3
under djgpp; in termcap.c you'll find:

/* Do this after the include, in case string.h prototypes bcopy.  */
#if (defined(HAVE_STRING_H) || defined(STDC_HEADERS)) && !defined(bcopy)
#define bcopy(s, d, n) memcpy ((d), (s), (n))
#endif

and after doing the same thing in tparam.c the package compiled fine.

- Raw text -


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