[dmd-beta] dmd 2.063 beta

Mike Wey mike at mikewey.eu
Mon Apr 29 13:45:43 PDT 2013


On 04/29/2013 08:51 PM, Walter Bright wrote:
>> 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.
>

You should be able to specify the complete library name if you prefix it 
with a colon. This option was added to ld in version 2.18 which was 
released in 2007.

-- 
Mike Wey


More information about the dmd-beta mailing list