3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support
Lluís Batlle i Rossell 585ba8c27f Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
  got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
  independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
  buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
  Maybe we should have a single stdenv and forget about the stdenvCross
  adapter - this could end in a stdenv a bit complex, but simpler than the
  generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
  now works for both the cross and the native compilers, but I think this
  should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
  its manual, so the derivation still fails. Guile requires patching to
  cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
  gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
  directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
  derivation variables mixed with those of the stdenvCross.

svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
..
buildenv revrting my accident only keeping rubygem updates and ruby libs 2009-06-30 15:58:02 +00:00
builder-defs * Remove some more unused functions. 2009-11-17 15:31:48 +00:00
checker removed all __primops from nixpkgs 2009-05-24 10:57:46 +00:00
deb-package big breaking change: renaming lib.getAttr to lib.attrByPath 2009-05-24 10:57:41 +00:00
fetchbzr Add `fetchbzr', to retrieve remote Bazaar repositories. 2008-09-26 08:57:51 +00:00
fetchcvs * Quick hack to support checkout by date. 2008-02-28 23:43:21 +00:00
fetchdarcs Added Idris and updated fetchdarcs. 2009-05-13 19:02:23 +00:00
fetchfile * "." -> "source". 2005-12-05 14:11:09 +00:00
fetchgit echo to stderr in stead of stdout. else hydra cannot read hash/path 2009-11-18 19:10:24 +00:00
fetchhg * Add a fetchhg builder to checkout mercurial repositories. 2009-11-14 20:14:21 +00:00
fetchmtn Reduce fetchmtn verbosity 2009-11-08 22:30:38 +00:00
fetchsvn Change fetchsvn as well as nix-prefect-svn to use the repository name and 2009-10-06 13:36:52 +00:00
fetchsvnssh undo 2008-07-06 15:46:10 +00:00
fetchurl fetchurl: Improve GNU mirror list. 2009-11-18 13:18:28 +00:00
gcc-cross-wrapper Big fixes in the cross build: 2009-11-22 19:51:45 +00:00
gcc-upc-wrapper Add GCC-UPC, a compiler for the UPC distributed shared memory language. 2008-03-04 16:20:11 +00:00
gcc-wrapper Fixing the coreutils reference in the gcc-wrapper - they did not get properly 2009-11-22 18:39:27 +00:00
kernel Making the 'makeInitrd' expression use "platform" 2009-11-08 18:47:55 +00:00
make-desktopitem Added desktop file generation function and desktop item for firefox 2009-05-10 12:03:53 +00:00
make-symlinks * "." -> "source". 2005-12-05 14:11:09 +00:00
make-wrapper * Firefox wrapper: put gecko-mediaplayer and mplayer at the start of 2009-07-16 11:22:37 +00:00
mono-dll-fixer * Remove references to substitute.sh. 2006-12-27 18:17:53 +00:00
native-darwin-cctools-wrapper * Changed version of gcc to 4.0.1 - 5484 on darwin 2009-06-21 18:37:54 +00:00
nuke-references * Use the sh from klibc in the bootstrap. It's a lot smaller than 2009-01-29 17:48:45 +00:00
release move autoconfPhase so it can be overriden 2009-11-19 13:57:57 +00:00
src-only A helper to get the source some package is built from. 2008-10-01 15:57:22 +00:00
substitute * Allow post/pre-install hooks. 2008-02-12 08:42:33 +00:00
upstream-updater Roll back SBCL 2009-11-06 10:13:00 +00:00
vm * Move `modifyDerivation' from build-support/vm to lib and rename it 2009-11-19 16:43:58 +00:00
trivial-builders.nix * Move functions like `runCommand' out of all-packages.nix and into 2009-11-19 16:07:47 +00:00