__default_allocate_template<>::[de]allocate --- move to supc++?
Ken Yarnall
yarnall@lvc.edu
Thu Jan 16 23:22:00 GMT 2003
On Thu, 16 Jan 2003 11:21:29 -0800
Nathan Myers <ncm-nospam@cantrip.org> wrote:
> On Thu, Jan 16, 2003 at 01:57:54PM -0500, Ken Yarnall wrote:
> > Short question: libstdc++-v3/src/stl-inst.cc instantiates
> > __default_alloc_template (or __malloc_... if you go that route), and
> > these instantiations apparently become a part of libstdc++.
> >
> > Is it possible for them to shift to libsupc++, or do they in turn
> > depend on bits of libstdc++? I have a little project that seems to be
> > independent of libstdc++ except for this instantiation.
>
> Linking statically might be the easiest way to get what you want.
> That is, add something like "-Wl,-dn -lstdc++ -Wl,-dy" to your
> link line.
I doubt I can swing that (it isn't my makefile). I'm trying to create an
add-on to a project whose authors really don't want to link to libstdc++;
I can manage to get away with using bits of the std library, I think, so
long as I don't require that link.
Ken
--
Ken Yarnall
Dept. of Mathematical Sciences Lebanon Valley College
Assoc. Professor of Math and CS (717)867-6085 yarnall@lvc.edu
More information about the Libstdc++
mailing list