🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1098

Why built-in functions?

#1098
From: Jason Merrill
Date: Wed, 09 Sep 1992 01:56
13 lines
976 bytes
     I thought that the gcc built-in functions were functions that the
compiler included code for, perhaps in the compiler itself, perhaps
libgcc.a.  However, today I tried compiling a test program that used memcpy
and looking at the object file produced; yup, memcpy was listed as an
undefined symbol.  Then I looked at libgcc.a, and couldn't find memcpy
there.

     So, what purpose do the gcc built-in functions serve?  Are they only
there so you don't have to include certain header files?

--
Jason Merrill
jason@jarthur.claremont.edu
Technical Details
Message-ID: <1992Sep9.015641.1501@muddcs.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: Why built-in functions?
Message-ID: <1992Sep9.015641.1501@muddcs.claremont.edu>
Sender: gnulists@ai.mit.edu
Organization: Harvey Mudd College, Claremont, CA 91711
Distribution: gnu
Date: Wed, 9 Sep 1992 01:56:41 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 14