Question

Seems that GDC does not support -version=<ident> switch, like DMD does.

--version or -v do not work either.

How do I instruct compiler to use given version identifier?

Was it helpful?

Solution

you need to use -fversion see the gdc wiki

OTHER TIPS

The gdc program does not accept parameters in the same way that dmd does. If you'd like to use DMD-like parameters with gdc, use gdmd, a helper script which wraps gdc and exposes a dmd-like command-line interface. For example, gdmd will translate -version to -fversion.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top