summary refs log tree commit diff
path: root/pkgs/build-support/gcc-cross-wrapper/gcc-wrapper.sh
Commit message (Collapse)AuthorAge
* Change occurrences of gcc to the more general ccJohn Wiegley2014-12-26
| | | | | This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
* gcc-wrapper: Remove NIX_GCC_NEEDS_GREPEelco Dolstra2014-09-23
| | | | This is not needed on any currently supported platform.
* * Remove the NIX_STRIP_DEBUG flag. It was undocumented and confusingEelco Dolstra2011-12-12
| | | | | | in its interaction with the ‘dontStrip’ attribute. svn path=/nixpkgs/branches/stdenv-updates/; revision=30848
* Breaking dependencies on the cross-built gcc through the gcc-cross-wrapper.Lluís Batlle i Rossell2010-08-09
| | | | svn path=/nixpkgs/branches/stdenv-updates/; revision=23073
* Big fixes in the cross build:Lluís Batlle i Rossell2009-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fixed some details on cross compilation. Among others:Lluís Batlle i Rossell2009-11-21
| | | | | | | | | | | | | | | | | | | | - Stating better the guile dependencies (native/host) for guile to build - Fixing cross-linking, through --rpath-link (ld(1) explains well about it - Made gcc call the linker and the assembler through the gcc wrapper instead of directly. I thought this was the source of missing -rpath's, but the source of the problem ended up being the lack of --rpath-link. But I think the native gcc calls the wrapped ld and as, so let's do the same cross compiling. - Removed the binutilsCross from the glibc expressions. Now they are built using the gcc-cross-wrapper, and they were built with the direct gcc and binutils before this change. - I think patchelf and strip don't break the cross-compiled binaries, so I reallow them on cross compilation. - I disable the checkPhase on cross compilation. This made gmp and libtool fail when cross compiled, iirc. svn path=/nixpkgs/branches/stdenv-updates/; revision=18498
* * "." -> "source".Eelco Dolstra2005-12-05
| | | | svn path=/nixpkgs/trunk/; revision=4335
* add a wrapper for cross compilers, which makes the correct link to the cross ↵Armijn Hemel2005-11-29
compiler. Only works for "gcc", haven't tried for g++ and the others svn path=/nixpkgs/trunk/; revision=4317