any tool to at least partially convert C++ to D (htod for source
Igor Lesik
curoles at yahoo.com
Thu Mar 11 10:44:13 PST 2010
> >>>>
> >>> I also had done a fair amount of work, and foundered on the inability to
> >>> dynamically load anything without it being a big deal.
> >>>
> >>> Like you say, it has been brought up many many times. Everyone says yes,
> >>> this is a real show-stopper, then the thread dies down and so on.
> >>>
> >>> Steve
> >>
> >> What are the exact problems that people have with shared libraries on
> >> linux? I've made a few dynamic libraries on Mac OS X of which only one
> >> didn't work (I have no idea why). Among the working libraries were DWT
> >> and Tango.
> >
> > DMD on Linux does not support the creation of shared libraries.
>
> Is that the runtime or the compiler? What about GDC, too old?
>AFAIK, it is the linker; something about Linux/Unix ELF object file formats perhaps .. though I'm
>out of my depth now. Maybe others can explain better.
>I've never used GDC so cannot say what the issues might be there.
>Think this thread needs a new subject line to raise the visibility of the issue. Granted
>though that Walter has acknowledged the issue (at long last).
>Understandably Walter has lots on his plate; what can be done to help out?
I work on making shared libraries work on Linux. IMO, -fPIC does not quite do what
it has to do (ie does not make EBX PIC register). I let Walter know; waiting on reply
from him (I do not want to change compiler code without his blessing).
Igor
More information about the Digitalmars-d
mailing list