public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: bothner@cygnus.com, law@cygnus.com
Cc: egcs@cygnus.com
Subject: Re: bcopy -> memcpy/memmove transition proposal
Date: Sun, 20 Sep 1998 13:58:00 -0000	[thread overview]
Message-ID: <199809202058.QAA12057@caip.rutgers.edu> (raw)

 > From: Jeffrey A Law <law@cygnus.com>
 > 
 >   In message < 199809191817.LAA10496@cygnus.com >you write:
 >   > This is certainly not necessary for using the mem* functions.
 > True, but there's several files from libiberty that gcc is using
 > obstack, getopt, cplus-dem, pexecute, vfprintf, choose-temp, mkstemp,
 > and alloca.  I think Kaveh is argueing that instead of creating another
 > hack that we should bite the bullet and link in libiberty (dealing
 > with the host/build issues along the way).
 > jeff

	Exactly.  Linking with libiberty would address allowing both
styles to be used while also making things a *lot* cleaner.  :-)

		--Kaveh

PS: The stuff Jeff listed above is the tip of the iceberg, there's lots
more cruft in the source that we should instead be getting cleanly from
libiberty.  E.g. implementations of mybcopy, mybzero, mystrerror,
mystrsignal, etc.  Stuff like vfork and xmalloc, xrealloc, etc are
implemented locally in dozens of places.  Etc, etc.  Its really a big
win to use libiberty. 

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Icon CMT Corp.

             reply	other threads:[~1998-09-20 13:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-20 13:58 Kaveh R. Ghazi [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-20 13:45 Kaveh R. Ghazi
1998-09-19 20:44 N8TM
1998-09-19 12:03 Kaveh R. Ghazi
1998-09-19 17:40 ` Per Bothner
1998-09-19 22:27   ` Jeffrey A Law
1998-09-20  6:39 ` Jeffrey A Law
1998-09-17  9:59 Per Bothner
1998-09-18  4:02 ` Carlo Wood
1998-09-18 23:53 ` Jeffrey A Law
1998-09-19  8:07 ` John Carr
1998-09-19 20:44   ` Jeffrey A Law
1998-09-20 10:48     ` Carlo Wood
1998-09-20 13:55       ` Jeffrey A Law
1998-09-20 10:48     ` John Carr
1998-09-20 10:55       ` Jeffrey A Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199809202058.QAA12057@caip.rutgers.edu \
    --to=ghazi@caip.rutgers.edu \
    --cc=bothner@cygnus.com \
    --cc=egcs@cygnus.com \
    --cc=law@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).