DIP11
Nick Sabalausky
a at a.a
Thu Aug 11 14:30:34 PDT 2011
"Jacob Carlborg" <doob at me.com> wrote in message
news:j21190$ls8$1 at digitalmars.com...
>
> Assuming that, you would still need to link with the libraries. I don't
> know if pragma(lib, ""); could work but I don't like that pragma in
> general. It's platform dependent
This works cross-platform:
pragma(lib, "LibNameWithoutExt");
And if you do need platform-specific, there's always version().
> and I'm not sure if it works for dynamic libraries. I don't think GDC
> implements it.
>
A major downside of GDC, IMO.
More information about the Digitalmars-d
mailing list