node/deps/uv/README

51 lines
1.4 KiB
Plaintext
Raw Normal View History

2011-05-13 10:16:40 +08:00
This is the new networking layer for Node. Its purpose is to abstract
IOCP on windows and libev on Unix systems. We intend to eventually contain
all platform differences in this library.
http://nodejs.org/
2011-08-06 18:38:11 +08:00
= Build Instructions
2011-05-13 10:16:40 +08:00
2011-08-09 05:14:47 +08:00
For GCC (including MinGW) there are two methods building: via normal
makefiles or via GYP. GYP is a meta-build system which can generate MSVS,
Makefile, and XCode backends. It is best used for integration into other
projects. The old (more stable) system is using Makefiles.
2011-08-06 18:38:11 +08:00
2011-08-09 05:14:47 +08:00
To build via Makefile simply execute:
2011-08-06 18:38:11 +08:00
make
2011-08-30 06:23:13 +08:00
To build with Visual Studio run the vcbuilds.bat file which will
checkout the GYP code into build/gyp and generate the uv.sln and
2011-08-09 05:14:47 +08:00
related files.
2011-08-06 18:38:11 +08:00
2011-08-30 06:23:13 +08:00
Windows users can also build from cmd-line using msbuild. This is
done by running vcbuild.bat from Visual Studio command prompt.
2011-08-09 05:14:47 +08:00
To have GYP generate build script for another system you will need to
checkout GYP into the project tree manually:
2011-08-06 18:38:11 +08:00
2011-08-09 05:14:47 +08:00
svn co http://gyp.googlecode.com/svn/trunk build/gyp
2011-08-23 08:34:43 +08:00
Unix users run
2011-08-09 05:14:47 +08:00
2011-08-23 08:34:43 +08:00
./gyp_uv -f make
make
2011-08-09 05:14:47 +08:00
2011-08-23 08:34:43 +08:00
Macintosh users run
2011-08-09 05:14:47 +08:00
2011-08-23 08:34:43 +08:00
./gyp_uv -f xcode
xcodebuild -project uv.xcodeproj -configuration Release -target All
2011-08-06 18:38:11 +08:00
= Supported Platforms
2011-05-13 10:16:40 +08:00
2011-08-09 05:14:47 +08:00
Microsoft Windows operating systems since Windows XP SP2. It can be built
with either Visual Studio or MinGW.
Linux 2.6 using the GCC toolchain.
2011-05-13 10:16:40 +08:00
2011-08-09 05:14:47 +08:00
MacOS using the GCC or XCode toolchain.
2011-05-13 10:16:40 +08:00
Solaris 121 and later using GCC toolchain.