Commit Graph

18 Commits

Author SHA1 Message Date
Eelco Dolstra
e83fe5ee78 * Patched gcc so that it doesn't search the standard include directories
(/usr/include, /usr/local/include, etc.).

* Immediate pay-off: we see that the glibc header files depend on the Linux
  kernel header files.  So I've added a package that extracts the appropriate
  headers from Linux 2.4.22.

svn path=/nixpkgs/trunk/; revision=361
2003-08-26 15:25:26 +00:00
Eelco Dolstra
d6cbd38bfb * Patched Perl's configure script to stop it from scanning well-known system
directories for libraries.  (Fortunately, the build would still fail because
  Perl's idea of "standard" library directories no longer matched that of the
  linker.)

* `stdenv-linux/setup.sh' now puts the path of glibc in an environment
  variable so that it can be used by other packages (for example, we need to
  pass it to Perl's configure, because otherwise it will think that, e.g.,
  libm.so doesn't exist).

svn path=/nixpkgs/trunk/; revision=359
2003-08-26 10:34:51 +00:00
Eelco Dolstra
33555f6a4d * Added the GNU findutils to the stdenv.
svn path=/nixpkgs/trunk/; revision=341
2003-08-22 15:06:24 +00:00
Eelco Dolstra
3467585b1b * Split off the native build init into setup-nativetools.sh.
* Add the $gcc/lib to the library path in the Nixified stdenv.  (This
  include libgcc.so and libstdc++.so.)

svn path=/nixpkgs/trunk/; revision=340
2003-08-22 13:42:21 +00:00
Eelco Dolstra
eaadea1e2a * Initialise the PATH immediately at the start of stdenv-linux, otherwise
baseenv won't work properly (because it can't find programs such as `cat').

svn path=/nixpkgs/trunk/; revision=331
2003-08-20 11:13:13 +00:00
Eelco Dolstra
0dc6fd3204 * Added bash.
* Separated stdenv.fix and stdenv-nativetools.fix.

svn path=/nixpkgs/trunk/; revision=324
2003-08-19 10:40:54 +00:00
Eelco Dolstra
6da1ac69b5 * Added GNU awk.
svn path=/nixpkgs/trunk/; revision=322
2003-08-19 09:40:09 +00:00
Eelco Dolstra
af9c2a534d * Added bzip2.
Note that I added bzip2 to stdenv, but not unzip.  This raises an interesting 
  point: what packages should be in stdenv?

svn path=/nixpkgs/trunk/; revision=320
2003-08-18 20:58:51 +00:00
Eelco Dolstra
287225e1e1 * Added binutils. The aterm library now builds in a fully Nixified environment.
svn path=/nixpkgs/trunk/; revision=315
2003-08-18 19:41:45 +00:00
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
Eelco Dolstra
185464700d * Added GNU make.
svn path=/nixpkgs/trunk/; revision=313
2003-08-18 17:08:09 +00:00
Eelco Dolstra
5bfb7b04d4 * Added the GNU diffutils.
svn path=/nixpkgs/trunk/; revision=312
2003-08-18 17:04:07 +00:00
Eelco Dolstra
86ac7b60b0 * Added GNU grep, and the Perl Compatible Regular Expressions library used by
grep.

svn path=/nixpkgs/trunk/; revision=311
2003-08-18 16:59:39 +00:00
Eelco Dolstra
aab301d701 * Added GNU sed.
svn path=/nixpkgs/trunk/; revision=310
2003-08-18 16:44:50 +00:00
Eelco Dolstra
4a104ba060 * Added gzip.
svn path=/nixpkgs/trunk/; revision=309
2003-08-18 16:40:22 +00:00
Eelco Dolstra
f6e0983d44 * Added GNU tar.
* Some refactoring on stdenv-linux to prevent unnecessary rebuilds.

svn path=/nixpkgs/trunk/; revision=308
2003-08-18 16:33:38 +00:00
Eelco Dolstra
40bc2cc9b6 * Started on working towards the fully Nixified build environment, i.e., one
where we don't use any tools from outside the Nix environment.  For this we
  need the basic POSIX utilities (e.g., GNU coreutils), a shell, GCC, and the
  binutils.

  Normal packages just need to include stdenv/stdenv.fix, which on Linux will
  use the Nixified environment.  However, for the tools in the build
  environment itself we have a bootstrapping problem.  Therefore, these depend
  on the external environment (and include stdenv-linux/stdenv-nativetools).

  The package `baseenv' provides some generic setup and GCC wrappers used by
  both fully Nixified and native environments.

svn path=/nixpkgs/trunk/; revision=305
2003-08-18 15:32:13 +00:00
Eelco Dolstra
5f248af2a0 * Renamed stdenv to stdenv-linux.
* Fix a bug that occurs when NIX_CFLAGS is empty.

svn path=/nixpkgs/trunk/; revision=241
2003-08-04 07:13:29 +00:00