Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
September 30, 2016 LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
I've been googling for a comprehensive list of LDC and GDC command line args for ages. I can't find one. I have had to download and install both compilers just to run the --help. Can these compilers please both have such a document in an obvious accessible place like DMD has? |
September 30, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | There is one for GDC[1], couldn't find anything for LDC. [1] https://wiki.dlang.org/GDC/Using_GDC |
September 30, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to NX | How did you get there? Even knowing it exists, I can't find a path to that page from other pages...
Is this complete and up to date?
I have '-fdeprecated' in some existing makefiles, but this doc says
'-Wdeprecated' is the flag... not sure which is correct? :/
Also, there seems to be a lot of flags missing:
deprecated as error
deprecated as warning
boundscheck=safeonly
emit coverage
emit deps
profile, profile=gc
addmain
On 30 September 2016 at 22:36, NX via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> There is one for GDC[1], couldn't find anything for LDC.
>
> [1] https://wiki.dlang.org/GDC/Using_GDC
|
September 30, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On Friday, 30 September 2016 at 12:16:14 UTC, Manu wrote: > I've been googling for a comprehensive list of LDC and GDC command line args for ages. I can't find one. > > I have had to download and install both compilers just to run the --help. > > Can these compilers please both have such a document in an obvious accessible place like DMD has? Just added to https://wiki.dlang.org/Using_LDC |
October 01, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | Perfect! How can we protect against this going stale?
On 30 September 2016 at 23:23, Nicholas Wilson via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> On Friday, 30 September 2016 at 12:16:14 UTC, Manu wrote:
>>
>> I've been googling for a comprehensive list of LDC and GDC command line args for ages. I can't find one.
>>
>> I have had to download and install both compilers just to run the --help.
>>
>> Can these compilers please both have such a document in an obvious accessible place like DMD has?
>
>
> Just added to https://wiki.dlang.org/Using_LDC
|
September 30, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On Friday, 30 September 2016 at 14:02:36 UTC, Manu wrote:
> Perfect! How can we protect against this going stale?
>
> On 30 September 2016 at 23:23, Nicholas Wilson via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>> On Friday, 30 September 2016 at 12:16:14 UTC, Manu wrote:
>>>
>>> I've been googling for a comprehensive list of LDC and GDC command line args for ages. I can't find one.
>>>
>>> I have had to download and install both compilers just to run the --help.
>>>
>>> Can these compilers please both have such a document in an obvious accessible place like DMD has?
>>
>>
>> Just added to https://wiki.dlang.org/Using_LDC
easiest way would be to write a script to parse the output of ldc --help
and print out as a table in mediawiki syntax (I did the current addition manually).
Shouldn't be too hard, but I don't have much time atm.
|
September 30, 2016 Re: LDC, GDC command line args | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manu | On Friday, 30 September 2016 at 14:02:36 UTC, Manu wrote:
> Perfect! How can we protect against this going stale?
Don't; just use `ldc2 -help`. This is the perfect example of a problem that doesn't need a solution. Downloading and extracting the binary package (or installing the distro package) is easy enough.
— David
|
Copyright © 1999-2021 by the D Language Foundation