gdc and tango
Sean Kelly
sean at f4.ca
Wed Aug 1 08:33:06 PDT 2007
Jason House wrote:
> I'm trying to build a program recently ported to tango with gdc.
>
> For whatever reason, when building in either linux or cygwin (windows), I get
> "Unsupported environment; neither Win32 or Posix is declared"
When building against a Posix API, you need to define version=Posix. I
do this in dmd.conf when using DMD, but I'm not sure how to do so with GDC.
> Under cygwin, gdmd -version=Win32 results in
> "Error: version identifier 'Win32' is reserved and cannot be set"
>
> Any tips on how to do this properly?
See above. The weird one is mingw, which should actually have Win32
defined.
Sean
More information about the Digitalmars-d-learn
mailing list