nixpkgs/pkgs/gcc/gcc-build.sh
Eelco Dolstra d343a357f1 * Added GCC (C and C++ variant; include libstdc++).
svn path=/nixpkgs/trunk/; revision=314
2003-08-18 17:49:30 +00:00

11 lines
220 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
mkdir build || exit 1
cd build || exit 1
../gcc-*/configure --prefix=$out --enable-languages=c,c++ || exit 1
make bootstrap || exit 1
make install || exit 1