Thread overview
Error: -o no longer supported, use -of or -od
Jul 17, 2017
Zaheer Ahmed
Jul 17, 2017
Jonathan Marler
Jul 17, 2017
Zaheer Ahmed
July 17, 2017
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 $<

July 17, 2017
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 $<
July 17, 2017
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'.