aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cross-base.scm
Commit message (Collapse)AuthorAge
* build-system/gnu: Remove the "debug" output when `strip-binaries?' is #f.Ludovic Courtès2013-07-04
| | | | | | | * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Delete "debug" from OUTPUTS when STRIP-BINARIES? is false. * gnu/packages/cross-base.scm (cross-libc): Leave `outputs' unchanged. This reverts commit a4627d4.
* gnu: cross-libc: Remove the "debug" output.Ludovic Courtès2013-07-04
| | | | | * gnu/packages/cross-base.scm (cross-libc): Remove "debug" from the `outputs' field.
* gnu: gcc: Use `gcc-configure-flags-for-triplet' when cross-compiling GCC.Ludovic Courtès2013-06-26
| | | | | | | * gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): Move to... * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): ... here. New procedure. (gcc-4.7): Use it when (%current-target-system) is true.
* gnu: cross-base: Add support for `mips64el-linux-gnu-gnuabi64' (N64 ABI).Ludovic Courtès2013-06-26
| | | | | | | * gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): New procedure. (cross-gcc): Use it. (xgcc-mips64el): Use *-gnuabi64 instead of the N32 ABI.
* gnu: cross-base: Make `glibc-dynamic-linker' do the right thing.Ludovic Courtès2013-06-26
| | | | | | | * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Determine SYSTEM based on (%current-target-system) when it's true. * gnu/packages/cross-base.scm (cross-gcc): Directly call (package-arguments gcc-4.7) from the body of `arguments'.
* gnu: cross-base: Build Binutils with `--with-sysroot=/'.Ludovic Courtès2013-06-26
| | | | * gnu/packages/cross-base.scm (cross-binutils): Use `--with-sysroot=/'.
* gnu: cross-base: Make the cross tools native inputs.Ludovic Courtès2013-06-25
| | | | | | * gnu/packages/cross-base.scm (cross-gcc): Change `inputs' to `native-inputs', and set `inputs' to the empty list. (cross-libc): Likewise.
* gnu: cross-binutils: Build with `--with-sysroot'.Ludovic Courtès2013-05-27
| | | | | | | | | This fixes resolution of DT_NEEDED entries in cross-built libraries. For instance, if ltdl.so needs libdl.so and has it in its RUNPATH, then libdl.so is searched for in the right place. * gnu/packages/cross-base.scm (cross-binutils): Pass `--with-sysroot=/no-such-path'.
* build-system/gnu: Implement cross build.Ludovic Courtès2013-05-24
| | | | | | | | | | | | | | * guix/build-system/gnu.scm (inputs-search-paths): New procedure. (standard-search-paths): Use it. (expand-inputs): New procedure. (standard-inputs): Use it. (standard-cross-packages, standard-cross-inputs, standard-cross-search-paths, gnu-cross-build): New procedures. (gnu-build-system): Set `cross-build' field to `gnu-cross-build'. * gnu/packages/cross-base.scm: Export `cross-gcc', `cross-binutils', and `cross-libc'. * guix/build/gnu-cross-build.scm: New file. * Makefile.am (MODULES): Add it.
* gnu: cross-gcc: Set the right search paths.Ludovic Courtès2013-05-24
| | | | | * gnu/packages/cross-base.scm (cross-gcc): Override `search-paths' and `native-search-paths'.
* gnu: Add missing import in (gnu packages cross-base).Ludovic Courtès2013-04-17
| | | | | * gnu/packages/cross-base.scm: Use (gnu packages gcc). Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* gnu: Add cross tool chain.Ludovic Courtès2013-02-27
* gnu/packages/cross-base.scm: New file. * gnu/packages/patches/gcc-cross-environment-variables.patch: New file. * Makefile.am (MODULES): Add cross-base.scm. (dist_patch_DATA): Add gcc-cross-environment-variables.patch. * gnu/packages/base.scm (gcc-4.7): Use `LDFLAGS_FOR_TARGET' instead of `LDFLAGS_FOR_BUILD', and use `-B' instead of `-L'. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for "mips64el-linux".