www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dub windows unrecognised file extension a

reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On windows with dub it seems to be creating libfoo.a instead of 
foo.lib, I don't think I changed any settings. Old build based on 
2.078 DMDFE seem to have built .lib but LDC based on 2.082 seems 
to be building .a
Sep 08 2018
parent reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Sunday, 9 September 2018 at 04:01:30 UTC, Nicholas Wilson 
wrote:
 On windows with dub it seems to be creating libfoo.a instead of 
 foo.lib, I don't think I changed any settings. Old build based 
 on 2.078 DMDFE seem to have built .lib but LDC based on 2.082 
 seems to be building .a
This definitely seems to be dubs fault: it passes -of/path/to/output/libFoo.a to LDC which compiles. `dub describe` also has { ... "packages" : [ ... { ... "targetFileName" : "libFoo.a",
Sep 08 2018
parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Sunday, 9 September 2018 at 04:53:05 UTC, Nicholas Wilson 
wrote:
 On Sunday, 9 September 2018 at 04:01:30 UTC, Nicholas Wilson 
 wrote:
 On windows with dub it seems to be creating libfoo.a instead 
 of foo.lib, I don't think I changed any settings. Old build 
 based on 2.078 DMDFE seem to have built .lib but LDC based on 
 2.082 seems to be building .a
This definitely seems to be dubs fault: it passes -of/path/to/output/libFoo.a to LDC which compiles. `dub describe` also has { ... "packages" : [ ... { ... "targetFileName" : "libFoo.a",
https://github.com/dlang/dub/pull/1559 Ugh time to recompile LLVM & LDC again.
Sep 08 2018