Thread overview
Error: -o no longer supported, use -of or -od
5 days ago
Zaheer Ahmed
5 days ago
Jonathan Marler
5 days ago
Zaheer Ahmed
5 days ago
When Compiling kernel.d with makefile I get
Error: -o no longer supported, use -of or -od
and my Makefile Commands to do this is following.

DMDPARAMS = -m32
//...some objects
%.o: %.d
       dmd $(DMDPARAMS) -o $@ -c $<

5 days ago
On Monday, 17 July 2017 at 16:08:30 UTC, Zaheer Ahmed wrote:
> When Compiling kernel.d with makefile I get
> Error: -o no longer supported, use -of or -od
> and my Makefile Commands to do this is following.
>
> DMDPARAMS = -m32
> //...some objects
> %.o: %.d
>        dmd $(DMDPARAMS) -o $@ -c $<

 dmd $(DMDPARAMS) -of$@ -c $<
5 days ago
On Monday, 17 July 2017 at 17:10:51 UTC, Jonathan Marler wrote:
> On Monday, 17 July 2017 at 16:08:30 UTC, Zaheer Ahmed wrote:
>> When Compiling kernel.d with makefile I get
>> Error: -o no longer supported, use -of or -od
>> and my Makefile Commands to do this is following.
>>
>> DMDPARAMS = -m32
>> //...some objects
>> %.o: %.d
>>        dmd $(DMDPARAMS) -o $@ -c $<
>
>  dmd $(DMDPARAMS) -of$@ -c $<

Thank You. This is working. I was trying but putting space between -of$@ like "-of $@" and source file should be immediately right after '-of'.