Newbie question: how do I specify (at the command line) a library in the same directory as my .obj file?

kinke kinke at gmx.net
Fri Aug 23 09:41:38 UTC 2019


On Thursday, 22 August 2019 at 17:32:54 UTC, WhatMeWorry wrote:
> C:\Users\me\tiny>ldc2 tiny.d test.lib
> lld-link: error: test.lib: unknown file type
> Error: linking with LLD failed

You probably specified an incompatible .lib (e.g., 32-bit lib for 
64-bit LDC target). The LLD error message is minimalistic.


More information about the digitalmars-d-ldc mailing list