Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

"Unsupported Environment"

Moderators: kris

Posted: 04/18/07 00:29:41

So I've spent the better part of a day trying to figure this out, and at this point I should really ask for help:

I've been trying to install tango. I've tried manual, scripts, and manual from source, but the furthest I've gotten at any of these methods is this error whenever I call tango in the code:

$ gdc tangoTest.d
Unsupported environment; neither Win32 or Posix is declared
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../include/d/4.1.2/tango/sys/Common.d:79: static assert  (0) is false

I guess my question is, how do I get this to understand I'm using a posix environment? ( ArchLinux 2.6.20.6 )

Thanks.

Author Message

Posted: 04/19/07 03:27:05

on Posix systems, you need to specify -version=Posix