Visual Studio /SUBSYSTEM:POSIX not appearing in 2008
I have installed visual studio 2008 Professional Edition and I am not able to set /SUBSYSTEM:POSIX option in one of the visual C++ projects. I also installed Visual Studio Debugger addin from SUA but still same. Please see attached screenshot for version information.
Thanks Niraj Rathi
It's gone. However, Visual Studio does provide a bunch of header files to provide functionality that gets close (but not the same), such as direct.h
for directory operations.
Currently, the best way of getting POSIX on Windows is probably Cygwin or it's friends.
There is Windows Services for UNIX (SfU), but according to some it was quite close to what Cygwin was in 2006. Seeing how Cygwin and some of its comrads are live and well and SfU did not see an update in over half a decade, I would choose the former any day of the week.
If you are interested in a blast from the past, checkout this little nugget from 2006 which is Microsoft's official How to port from UNIX to Windows website. It seems rather useless, but funny what Microsoft thought is "useful" in 2006.
链接地址: http://www.djcxy.com/p/95334.html