[Issue 14296] RDMD fails at building a lib when the source is in a subdir

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 23 03:15:46 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14296

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Vladimir Panteleev from comment #6)
> (In reply to Walter Bright from comment #5)
> > A better solution for now is to have rdmd not use both -od and -of.
> 
> That would mean to either put the intermediary object files in the current
> directory or to put the .lib file in a temporary directory. Again it would
> mean special logic in rdmd depending on whether -lib is supplied to work
> around the DMD bug.

dmd is not going to change the behavior of -od or -of. Their behavior is
confusing enough - breaking peoples' makefiles will make things even worse.
Best case is adding a new switch with the desired behavior.

rdmd can work by using fully qualified output file names.

--


More information about the Digitalmars-d-bugs mailing list