CURL question on ubuntuforums.org

Nick Sabalausky a at a.a
Fri Jan 6 12:35:14 PST 2012


"Robert Clipsham" <robert at octarineparrot.com> wrote in message 
news:je7lcu$1ggl$1 at digitalmars.com...
> On 06/01/2012 13:58, Jacob Carlborg wrote:
>>> The only time pragma(lib) works is when the file it's in is provided on
>>> the command line. rdmd can work around this as it invokes dmd twice,
>>> there's not a lot that can be done otherwise though.
>>>
>>
>> You mean it doesn't work for .di files, I'm aware of that.
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=2776
>
> dmd -c a.d
> dmd -c b.d
> dmd a.d b.d
>
> ...
>
> Cue linker errors if A or B has a pragma(lib) in it and relevant extern 
> declarations.
>

Did you mean that last line to be "dmd a.obj b.obj"? 




More information about the Digitalmars-d mailing list