www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - ldmd2 -c file1.d file2.d

reply =?UTF-8?B?Ikx1w61z?= Marques" <luis luismarques.eu> writes:
If you do:

     dmd -c file1.d file2.d etc.d

...you will get multiple .o files (one per .d file). Doing the 
same with ldmd2 only outputs file1.o. Is that a bug?
Sep 03 2013
parent reply "Kai Nacke" <kai redstar.de> writes:
On Tuesday, 3 September 2013 at 23:14:14 UTC, Luís Marques wrote:
 If you do:

     dmd -c file1.d file2.d etc.d

 ...you will get multiple .o files (one per .d file). Doing the 
 same with ldmd2 only outputs file1.o. Is that a bug?
Yes. ldmd2 is a direct replacement for dmd and should behave the same way. Kai
Sep 03 2013
parent =?UTF-8?B?Ikx1w61z?= Marques" <luis luismarques.eu> writes:
On Wednesday, 4 September 2013 at 04:36:07 UTC, Kai Nacke wrote:
 Yes. ldmd2 is a direct replacement for dmd and should behave 
 the same way.
I submitted a bug report on GibHub: Issue #467.
Sep 04 2013