WeakRef updated to better support Tango -- and a question

Jason House jason.james.house at gmail.com
Mon Mar 24 05:11:54 PDT 2008


Lars Ivar Igesund Wrote:

> Jason House wrote:
> 
> > Bill Baxter wrote:
> > 
> >> Jason House wrote:
> >>> I'm getting:
> >>>   undefined reference to `rt_attachDisposeEvent'
> >>>   undefined reference to `rt_detachDisposeEvent'
> >>> 
> >>> What can I do to fix that?
> >> 
> >> Those are Tango's names for the functions.  Are you using Tango?
> >> 
> >> If you are using Tango, then maybe you need to link with
> >> tango-user-dmd.lib?
> >> 
> >> If that ain't it, then someone who knows more about Tango will have to
> >> help.
> >> 
> >> --bb
> > 
> > Tango 0.99.4 with gdc (GCC) 4.1.3 20070831 (prerelease gdc 0.25, using dmd
> > 1.021) (Ubuntu 0.25-4.1.2-16ubuntu1).  I'm linking with gtango.  I have
> > Memory.di, but can't find Memory.d or related files that may give me a
> > hint what to do.
> 
> Those should be in your libgphobos (for gdc).
> 

I'm still confused. I did not need to link to Phobos for a Tango project before. Why now? How do I generalize for both dmd and gdc?



More information about the Digitalmars-d mailing list