This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dynamically loading shared objects
-----BEGIN PGP SIGNED MESSAGE-----
Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
> I think you should link the shared object against -lgcc. Actually
> this should happen automagically if you use `gcc -shared' to link
> it.
That sounds like a good advice -- in fact I was calling ld directly,
so libgcc wasn't linked. I'll test this as soon as possible and let
you know whether this fixed the problem.
-peter
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
iQCVAwUBNbbyCw9HL1s0103BAQHAqAQAhyvB2a8RqNsmgWC0uQGWJVK1mzvihpds
fRi/j79NWh+8+7xamDIh/nkJIKFuY5FQ3+ziLy7FaDOk66yDkl2J2Y5+qbp5RAio
XFJtZDaUt1uKAT4t4hbBEfMy1Akma/JhE8cfvIQCFvWuzPlvgdoyJO337+EdN14z
GV0fRRTsFnw=
=4bSv
-----END PGP SIGNATURE-----