* 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:
Eelco Dolstra 2006-06-02 09:56:10 +00:00
parent 8554e01d2b
commit 91aebd8616
3 changed files with 28 additions and 0 deletions

View 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

View 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";
}

View file

@ -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) {