digitalmars.D.learn - gdc and tango
- Jason House (6/6) Aug 01 2007 I'm trying to build a program recently ported to tango with gdc.
- Sean Kelly (6/14) Aug 01 2007 When building against a Posix API, you need to define version=Posix. I
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" 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?
Aug 01 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
Aug 01 2007