On Mon, Aug 20, 2012 at 4:55 PM, Perry Smith <pedz...@gmail.com> wrote: > > collect2 is dying when it calls ld for the first time because __dso_handle is > not defined. It is being reference from the calls to __cxa_atexit.
So, create another stub, and pass it into the first link. Ian