[dmd-beta] dmd 2.063 beta

Walter Bright walter at digitalmars.com
Mon Apr 29 11:51:59 PDT 2013


On 4/29/2013 11:21 AM, Mike Wey wrote:
>
> Usually you would use the -Bstatic and the -Bdynamic switches which whould 
> tell the linker: the libraries passed after this switch should be linked 
> statically or dynamically.

I found the documentation for those switches to be pretty much nonexistent, 
leading me loathe to rely on them.

>
> But if it's just for on library you could use -l:libphobos2.a or 
> -l:libphobos2.so to tell the linker which version to link with.

The linker rejected that, it wants a name without the "lib" prefix and ".a" suffix.



More information about the dmd-beta mailing list