Error: -o no longer supported, use -of or -od
Zaheer Ahmed via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 17 11:56:07 PDT 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'.
More information about the Digitalmars-d
mailing list