* A wrapper around the Visual C++ compiler and the Windows SDK.
TODO: download and unpack into the Nix store Visual C++ (either from Visual C++ Express Edition or from the .NET 2.0 Framework SDK) and the Windows Platform SDK. The command line tools don't seem to need any registry settings... svn path=/nixpkgs/trunk/; revision=5369
This commit is contained in:
parent
8554e01d2b
commit
91aebd8616
8
pkgs/development/compilers/visual-c++/builder.sh
Normal file
8
pkgs/development/compilers/visual-c++/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
source $stdenv/setup
|
||||
|
||||
ensureDir $out
|
||||
cat > $out/setup <<EOF
|
||||
export PATH="$vs8Path/VC/bin:$vs8Path/Common7/IDE:$sdkPath/bin:$PATH"
|
||||
export LIB="$(cygpath -w -p "$vs8Path/VC/lib:$sdkPath/lib")"
|
||||
export INCLUDE="$(cygpath -w -p "$sdkPath/include:$sdkPath/include/crt")"
|
||||
EOF
|
14
pkgs/development/compilers/visual-c++/default.nix
Normal file
14
pkgs/development/compilers/visual-c++/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
assert stdenv.system == "i686-cygwin";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
# Derived from Visual C++ 2005 (= VC 8), followed by cl.exe's
|
||||
# internal version number.
|
||||
name = "visual-c++-8-14.00.50727.42";
|
||||
builder = ./builder.sh;
|
||||
|
||||
# These should be downloaded eventually.
|
||||
vs8Path = "/cygdrive/c/Program Files/Microsoft Visual Studio 8";
|
||||
sdkPath = "/cygdrive/c/Program Files/Microsoft Platform SDK";
|
||||
}
|
@ -828,12 +828,18 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
visualcpp = import ../development/compilers/visual-c++ {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
|
||||
### DEVELOPMENT / DEBUGGERS
|
||||
|
||||
#ltrace = (import ../development/debuggers/ltrace) {
|
||||
# inherit fetchurl stdenv;
|
||||
#};
|
||||
|
||||
|
||||
### DEVELOPMENT / INTERPRETERS
|
||||
|
||||
happy = (import ../development/tools/parsing/happy) {
|
||||
|
Loading…
Reference in New Issue
Block a user