Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
July 23, 2003 Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Hi, Because we want to use DMC in a automated build system, we want to know at the start of the build process which DMC version we are building with. I cannot find a commandline flag with which the compiler version is dumped to the console. Just running it without options gives output, but there are keypresses needed then. Can maybe a -v option be added that shows the compiler version details? Johnny Willemsen |
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johnny Willemsen | The predefined macro __DMC__ is the compiler version.
Arjan
Johnny Willemsen wrote:
> Hi,
>
> Because we want to use DMC in a automated build system, we want to know at
> the start of the build process which DMC version we are building with. I
> cannot find a commandline flag with which the compiler version is dumped to
> the console. Just running it without options gives output, but there are
> keypresses needed then. Can maybe a -v option be added that shows the
> compiler version details?
>
> Johnny Willemsen
>
>
|
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Hi, Thanks, but we use a perl autobuild environment and in the build set have a config part where we list the compiler version. For this we just run the compiler to print out its version info. See http://www.dre.vanderbilt.edu/scoreboard/integrated.html for a list of all the builds currently running. For DMC we just want to do dm -v to print out the version info. Johnny "Arjan Knepper" <arjan@ask.me> wrote in message news:bfllno$q5v$1@digitaldaemon.com... > The predefined macro __DMC__ is the compiler version. > > Arjan > > Johnny Willemsen wrote: > > Hi, > > > > Because we want to use DMC in a automated build system, we want to know at > > the start of the build process which DMC version we are building with. I cannot find a commandline flag with which the compiler version is dumped to > > the console. Just running it without options gives output, but there are keypresses needed then. Can maybe a -v option be added that shows the compiler version details? > > > > Johnny Willemsen > > > > > |
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johnny Willemsen | Seconded "Johnny Willemsen" <jwillemsen@remedy.nl> wrote in message news:bflflq$l9s$1@digitaldaemon.com... > Hi, > > Because we want to use DMC in a automated build system, we want to know at the start of the build process which DMC version we are building with. I cannot find a commandline flag with which the compiler version is dumped to > the console. Just running it without options gives output, but there are keypresses needed then. Can maybe a -v option be added that shows the compiler version details? > > Johnny Willemsen > > |
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johnny Willemsen | What about just running SCPPN.EXE?
That will give you the compiler version.
Jan
Johnny Willemsen wrote:
> Hi,
>
> Because we want to use DMC in a automated build system, we want to know at the start of the build process which DMC version we are building with. I cannot find a commandline flag with which the compiler version is dumped to the console. Just running it without options gives output, but there are keypresses needed then. Can maybe a -v option be added that shows the compiler version details?
>
> Johnny Willemsen
--
ManiaC++
Jan Knepper
|
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Hi, That works. Thanks for the hint. I will use that but it would be nice if all executables have for example -v to print out the exact version info. Johnny "Jan Knepper" <jan@smartsoft.us> wrote in message news:3F1E8618.C5611C40@smartsoft.us... > What about just running SCPPN.EXE? > That will give you the compiler version. > > Jan > > > > Johnny Willemsen wrote: > > > Hi, > > > > Because we want to use DMC in a automated build system, we want to know at > > the start of the build process which DMC version we are building with. I cannot find a commandline flag with which the compiler version is dumped to > > the console. Just running it without options gives output, but there are keypresses needed then. Can maybe a -v option be added that shows the compiler version details? > > > > Johnny Willemsen > > -- > ManiaC++ > Jan Knepper > > |
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johnny Willemsen | "Johnny Willemsen" wrote: > That works. Thanks for the hint. I will use that but it would be nice if all > executables have for example -v to print out the exact version info. It would also be nice if all compilers used the same switches/flags for compilation. It should be an ISO standard me thinks! |
July 23, 2003 Re: Request for -v commandline option for DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Greg Peet | It would be ok for me if all compilers just have an option that just show the version info. Most compilers we just do -v and get a error about unsupported option, but luckely they then also give the version number Johnny "Greg Peet" <admin@gregpeet.com> wrote in message news:bfmfjc$1nli$1@digitaldaemon.com... > "Johnny Willemsen" wrote: > > That works. Thanks for the hint. I will use that but it would be nice if > all > > executables have for example -v to print out the exact version info. > > It would also be nice if all compilers used the same switches/flags for compilation. It should be an ISO standard me thinks! > > |
Copyright © 1999-2021 by the D Language Foundation