🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #111

Re: ___builtin_delete not found??

#111
From: Joe Buck
Date: Fri, 24 Jul 1992 22:32
21 lines
1261 bytes
In article <1992Jul24.220827.28092@jhunix.hcf.jhu.edu> camacs5@jhunix.hcf.jhu.edu (Sol Su) writes:
>i am trying to dynamically load compiled g++ code into
>S.  when the code is compiled with AT&T C++2.1 it loads
>without trouble; trying to get the g++-produced image
>into S yields "___builtin_delete" and "___builtin_new"
>undefined symbols.  in the libg++.a, indeed the ___builtin_delete
>symbol is U.  where is it resolved?

It's in -lgcc.  libgcc.a lives in the same place as the passes to
gcc, which you can find out by doing gcc -v.

It's not in libg++.a because libg++ is optional but support for new
and delete is required.  Also, libgcc routines can be included with
complete freedom in proprietary code (no GPL or even LGPL restrictions);
libg++ is subject to the LGPL.




--
Joe Buck	jbuck@ohm.berkeley.edu
Technical Details
Message-ID: <14q0ekINNl2d@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!ames!agate!forney.berkeley.edu!jbuck
References: <1992Jul24.220827.28092@jhunix.hcf.jhu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!decwrl!ames!agate!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: gnu.g++.help
Subject: Re: ___builtin_delete not found??
Message-ID: <14q0ekINNl2d@agate.berkeley.edu>
Date: 24 Jul 92 22:32:52 GMT
References: <1992Jul24.220827.28092@jhunix.hcf.jhu.edu>
Distribution: usa
Organization: U. C. Berkeley
Lines: 21
NNTP-Posting-Host: forney.berkeley.edu