January 31, 2005 optimization flag -o -> -O | ||||
---|---|---|---|---|
| ||||
I suggest change the optimization flag from the lowercase 'o' to uppercase 'O' so there is no conflict with -o option which set the name of the output file. It could be like this: -O+[all | space | speed | time ] and other flags This is not necessary, but it would be nice to have it. -O0 or -O- -> disable optimization -O1 -> optimize for size -O2 -> optimize for speed -O3 -> all optimization So, dmc test.cpp -o test.abc will compile test.cpp to test.abc and not compile both test.cpp and test.abc with optimization By the way, I have saw this on the documentation for dmc.exe switches: -o SPP only: send result to stdout what is SPP? Regards, Nicky. |
February 01, 2005 Re: optimization flag -o -> -O | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicky | "Nicky" <Nicky_member@pathlink.com> wrote in message news:ctkh6u$14ee$1@digitaldaemon.com... > I suggest change the optimization flag from the lowercase 'o' to uppercase 'O' > so there is no conflict with -o option which set the name of the output file. It > could be like this: > > -O+[all | space | speed | time ] and other flags > > This is not necessary, but it would be nice to have it. > -O0 or -O- -> disable optimization > -O1 -> optimize for size > -O2 -> optimize for speed > -O3 -> all optimization > > > So, > dmc test.cpp -o test.abc > will compile test.cpp to test.abc and not compile both test.cpp and test.abc > with optimization > > By the way, I have saw this on the documentation for dmc.exe switches: -o SPP only: send result to stdout > > what is SPP? SPP is the standalone preprocessor. |
Copyright © 1999-2021 by the D Language Foundation