[Suggestion] Command line option: List defined version identifiers

Anders F Björklund afb at algonet.se
Fri Sep 15 03:39:21 PDT 2006


Stewart Gordon wrote:
> It would be useful to have a command line option that displays the 
> version identifiers that are set.  Maybe -versionlist or something.  For 
> example, for DMD on Win32:
> 
> C:\>dmd -versionlist
> D_InlineAsm
> D_InlineAsm_X86
> DigitalMars
> LittleEndian
> X86
> Windows
> Win32
> all

Good idea, on Mac OS X 10.3 it would be:

$ gdmd -versionlist
GNU_BitsPerPointer32
GNU
BigEndian
PPC
Unix
darwin
all

--anders



More information about the Digitalmars-d mailing list